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 | 624a93ee47fd05adbad4ea22b50c554ca23ac0ef (patch) | |
tree | a832b8f0b47c514ea0b2a73fa6ba8a644af2ab79 /lib/CodeGen/AsmPrinter/DIE.h | |
parent | 2e892e4e27ecb6b1af757796841db5ff18df99a9 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178806 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DIE.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DIE.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIE.h b/lib/CodeGen/AsmPrinter/DIE.h index 8d68fd595f..c332aa2a7d 100644 --- a/lib/CodeGen/AsmPrinter/DIE.h +++ b/lib/CodeGen/AsmPrinter/DIE.h @@ -336,7 +336,9 @@ namespace llvm { /// SizeOf - Determine size of debug information entry in bytes. /// - virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const; + virtual unsigned SizeOf(AsmPrinter *AP, unsigned Form) const { + return sizeof(int32_t); + } // Implement isa/cast/dyncast. static bool classof(const DIEValue *E) { return E->getType() == isEntry; } |