mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Apparently gdb is not amused by empty lines in pubtypes section.
llvm-svn: 95064
This commit is contained in:
parent
38cf687622
commit
59e8b027b8
@ -2781,7 +2781,8 @@ void DwarfDebug::emitDebugPubTypes() {
|
||||
|
||||
EmitLabel("pubtypes_begin", ModuleCU->getID());
|
||||
|
||||
Asm->EmitInt16(dwarf::DWARF_VERSION); EOL("DWARF Version");
|
||||
if (Asm->VerboseAsm) Asm->OutStreamer.AddComment("DWARF Version");
|
||||
Asm->EmitInt16(dwarf::DWARF_VERSION);
|
||||
|
||||
EmitSectionOffset("info_begin", "section_info",
|
||||
ModuleCU->getID(), 0, true, false);
|
||||
@ -2797,7 +2798,8 @@ void DwarfDebug::emitDebugPubTypes() {
|
||||
const char *Name = GI->getKeyData();
|
||||
DIE * Entity = GI->second;
|
||||
|
||||
Asm->EmitInt32(Entity->getOffset()); EOL("DIE offset");
|
||||
if (Asm->VerboseAsm) Asm->OutStreamer.AddComment("DIE offset");
|
||||
Asm->EmitInt32(Entity->getOffset());
|
||||
|
||||
if (Asm->VerboseAsm) Asm->OutStreamer.AddComment("External Name");
|
||||
Asm->OutStreamer.EmitBytes(StringRef(Name, GI->getKeyLength()+1), 0);
|
||||
|
Loading…
Reference in New Issue
Block a user