diff options
author | Reid Kleckner <reid@kleckner.net> | 2009-08-21 21:03:57 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2009-08-21 21:03:57 +0000 |
commit | 01248e671100fbd6eac6bc3646096dc75ec885d1 (patch) | |
tree | 634944a488e2aec43a5a5becffae59912a8097d6 /include/llvm/Support/Dwarf.h | |
parent | c692cb77aaa8b16bcc7fe0c70d47adce94c43911 (diff) |
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.h | 1 |
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, |