summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-06-19 15:48:00 +0000
committerJim Laskey <jlaskey@mac.com>2006-06-19 15:48:00 +0000
commitf32058a2b7f37185f8814d8fa581ae8d1bcb172b (patch)
tree25a067468adc362beeb128e4fed4f74f686f795e /llvm/lib/CodeGen/DwarfWriter.cpp
parent4335b3486a7912408350935aef09198538af87f4 (diff)
downloadbcm5719-llvm-f32058a2b7f37185f8814d8fa581ae8d1bcb172b.tar.gz
bcm5719-llvm-f32058a2b7f37185f8814d8fa581ae8d1bcb172b.zip
References need to be section relative.
llvm-svn: 28858
Diffstat (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/DwarfWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp
index b384b416a42..61697c634d6 100644
--- a/llvm/lib/CodeGen/DwarfWriter.cpp
+++ b/llvm/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());
OpenPOWER on IntegriCloud