mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-27 15:29:51 +00:00
Tidy up. Hard tabs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145878 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
91f2cce231
commit
f68a26b5d8
@ -182,7 +182,7 @@ uint64_t ELFObjectWriter::SymbolValue(MCSymbolData &Data,
|
|||||||
if (const MCExpr *Value = Symbol.getVariableValue()) {
|
if (const MCExpr *Value = Symbol.getVariableValue()) {
|
||||||
int64_t IntValue;
|
int64_t IntValue;
|
||||||
if (Value->EvaluateAsAbsolute(IntValue, Layout))
|
if (Value->EvaluateAsAbsolute(IntValue, Layout))
|
||||||
return (uint64_t)IntValue;
|
return (uint64_t)IntValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -733,7 +733,7 @@ bool MCAssembler::relaxLEB(MCAsmLayout &Layout, MCLEBFragment &LF) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool MCAssembler::relaxDwarfLineAddr(MCAsmLayout &Layout,
|
bool MCAssembler::relaxDwarfLineAddr(MCAsmLayout &Layout,
|
||||||
MCDwarfLineAddrFragment &DF) {
|
MCDwarfLineAddrFragment &DF) {
|
||||||
int64_t AddrDelta = 0;
|
int64_t AddrDelta = 0;
|
||||||
uint64_t OldSize = DF.getContents().size();
|
uint64_t OldSize = DF.getContents().size();
|
||||||
bool IsAbs = DF.getAddrDelta().EvaluateAsAbsolute(AddrDelta, Layout);
|
bool IsAbs = DF.getAddrDelta().EvaluateAsAbsolute(AddrDelta, Layout);
|
||||||
|
@ -628,7 +628,7 @@ IsSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MachObjectWriter::WriteObject(MCAssembler &Asm,
|
void MachObjectWriter::WriteObject(MCAssembler &Asm,
|
||||||
const MCAsmLayout &Layout) {
|
const MCAsmLayout &Layout) {
|
||||||
unsigned NumSections = Asm.size();
|
unsigned NumSections = Asm.size();
|
||||||
|
|
||||||
// The section data starts after the header, the segment load command (and
|
// The section data starts after the header, the segment load command (and
|
||||||
|
Loading…
Reference in New Issue
Block a user