mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 19:25:00 +00:00
References need to be section relative.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28858 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2152,7 +2152,7 @@ void DwarfWriter::EmitDebugPubNames() {
|
|||||||
|
|
||||||
EmitInt16(DWARF_VERSION); EOL("DWARF Version");
|
EmitInt16(DWARF_VERSION); EOL("DWARF Version");
|
||||||
|
|
||||||
EmitReference("info_begin", Unit->getID());
|
EmitDifference("info_begin", Unit->getID(), "section_info", 0);
|
||||||
EOL("Offset of Compilation Unit Info");
|
EOL("Offset of Compilation Unit Info");
|
||||||
|
|
||||||
EmitDifference("info_end", Unit->getID(), "info_begin", Unit->getID());
|
EmitDifference("info_end", Unit->getID(), "info_begin", Unit->getID());
|
||||||
|
Reference in New Issue
Block a user