diff options
author | Manman Ren <mren@apple.com> | 2013-04-04 23:13:11 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2013-04-04 23:13:11 +0000 |
commit | bdcb4464e2bc50cc24fd5d81018c1f7ab4695f1b (patch) | |
tree | 84ea1756da08f81d13d2580b05142720224a4ab4 /llvm/lib/CodeGen/AsmPrinter/DIE.cpp | |
parent | 2de3daa0a288936154215d96fa106d5728b78164 (diff) | |
download | bcm5719-llvm-bdcb4464e2bc50cc24fd5d81018c1f7ab4695f1b.tar.gz bcm5719-llvm-bdcb4464e2bc50cc24fd5d81018c1f7ab4695f1b.zip |
Debug Info: revert 178722 for now.
There is a difference for FORM_ref_addr between DWARF 2 and DWARF 3+.
Since Eric is against guarding DWARF 2 ref_addr with DarwinGDBCompat, we are
still in discussion on how to handle this.
The correct solution is to update our header to say version 4 instead of version
2 and update tool chains as well.
rdar://problem/13559431
llvm-svn: 178806
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIE.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DIE.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp index 326fbe55672..57e0acda890 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIE.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DIE.cpp @@ -310,12 +310,6 @@ void DIEEntry::EmitValue(AsmPrinter *AP, unsigned Form) const { AP->EmitInt32(Entry->getOffset()); } -unsigned DIEEntry::SizeOf(AsmPrinter *AP, unsigned Form) const { - if (Form == dwarf::DW_FORM_ref_addr) - return AP->getDataLayout().getPointerSize(); - return sizeof(int32_t); -} - #ifndef NDEBUG void DIEEntry::print(raw_ostream &O) { O << format("Die: 0x%lx", (long)(intptr_t)Entry); |