summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Dwarf.h
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2009-08-21 21:03:57 +0000
committerReid Kleckner <reid@kleckner.net>2009-08-21 21:03:57 +0000
commit01248e671100fbd6eac6bc3646096dc75ec885d1 (patch)
tree634944a488e2aec43a5a5becffae59912a8097d6 /include/llvm/Support/Dwarf.h
parentc692cb77aaa8b16bcc7fe0c70d47adce94c43911 (diff)
downloadllvm-01248e671100fbd6eac6bc3646096dc75ec885d1.tar.gz
llvm-01248e671100fbd6eac6bc3646096dc75ec885d1.tar.bz2
llvm-01248e671100fbd6eac6bc3646096dc75ec885d1.tar.xz
Fix a bug where the DWARF emitter in the JIT was not initializing alignment
bytes. libgcc doesn't seem to mind, but if you pass this DWARF to GDB, it doesn't like it. Also make the JIT memory manager to initialize it's memory to garbage in debug mode, so that it's easier to find bugs like these in the future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79674 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Dwarf.h')
-rw-r--r--include/llvm/Support/Dwarf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/Dwarf.h b/include/llvm/Support/Dwarf.h
index 55838b8144..bfccc522b9 100644
--- a/include/llvm/Support/Dwarf.h
+++ b/include/llvm/Support/Dwarf.h
@@ -449,6 +449,7 @@ enum dwarf_constants {
// Call frame instruction encodings
DW_CFA_extended = 0x00,
+ DW_CFA_nop = 0x00,
DW_CFA_advance_loc = 0x40,
DW_CFA_offset = 0x80,
DW_CFA_restore = 0xc0,