mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-30 19:35:54 +00:00
80-column and tab character fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184792 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
afbe0e266c
commit
fdfc81f142
@ -600,7 +600,8 @@ static bool emitDebugValueComment(const MachineInstr *MI, AsmPrinter &AP) {
|
||||
} else {
|
||||
assert(MI->getOperand(0).isFI() && "Unknown operand type");
|
||||
const TargetFrameLowering *TFI = AP.TM.getFrameLowering();
|
||||
Offset += TFI->getFrameIndexReference(*AP.MF, MI->getOperand(0).getIndex(), Reg);
|
||||
Offset += TFI->getFrameIndexReference(*AP.MF,
|
||||
MI->getOperand(0).getIndex(), Reg);
|
||||
Deref = true;
|
||||
}
|
||||
if (Reg == 0) {
|
||||
|
@ -601,7 +601,8 @@ DIE *DwarfDebug::constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope) {
|
||||
if (Children.empty() && Range.first == Range.second)
|
||||
return NULL;
|
||||
ScopeDIE = constructLexicalScopeDIE(TheCU, Scope);
|
||||
for (ImportedEntityMap::const_iterator i = Range.first; i != Range.second; ++i)
|
||||
for (ImportedEntityMap::const_iterator i = Range.first; i != Range.second;
|
||||
++i)
|
||||
constructImportedEntityDIE(TheCU, i->second, ScopeDIE);
|
||||
}
|
||||
|
||||
@ -812,7 +813,8 @@ void DwarfDebug::constructImportedEntityDIE(CompileUnit *TheCU,
|
||||
TheCU->getUniqueID());
|
||||
TheCU->addUInt(IMDie, dwarf::DW_AT_decl_file, 0, FileID);
|
||||
TheCU->addUInt(IMDie, dwarf::DW_AT_decl_line, 0, Module.getLineNumber());
|
||||
TheCU->addDIEEntry(IMDie, dwarf::DW_AT_import, dwarf::DW_FORM_ref4, EntityDie);
|
||||
TheCU->addDIEEntry(IMDie, dwarf::DW_AT_import, dwarf::DW_FORM_ref4,
|
||||
EntityDie);
|
||||
StringRef Name = Module.getName();
|
||||
if (!Name.empty())
|
||||
TheCU->addString(IMDie, dwarf::DW_AT_name, Name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user