mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user