diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-06-19 15:48:00 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-06-19 15:48:00 +0000 |
commit | 067ef412bbc915d0756f28b09a449e7ccc2d369d (patch) | |
tree | 373506dea159b49f6babbc9f52480d864679dd42 /lib/CodeGen/DwarfWriter.cpp | |
parent | 3770500f88d9c9007c83a2961d8de3f0c208c7be (diff) |
References need to be section relative.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28858 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r-- | lib/CodeGen/DwarfWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index b384b416a4..61697c634d 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/lib/CodeGen/DwarfWriter.cpp @@ -2152,7 +2152,7 @@ void DwarfWriter::EmitDebugPubNames() { 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"); EmitDifference("info_end", Unit->getID(), "info_begin", Unit->getID()); |