diff options
Diffstat (limited to 'llvm/test/DebugInfo/dwarfdump-abbrev-off.test')
| -rw-r--r-- | llvm/test/DebugInfo/dwarfdump-abbrev-off.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/dwarfdump-abbrev-off.test b/llvm/test/DebugInfo/dwarfdump-abbrev-off.test new file mode 100644 index 00000000000..2937d8cbdde --- /dev/null +++ b/llvm/test/DebugInfo/dwarfdump-abbrev-off.test @@ -0,0 +1,8 @@ +RUN: llvm-dwarfdump -debug-dump=info %p/Inputs/dwarfdump-abbrev-off.elf-x86-64 | FileCheck %s + +Check that we apply relocations to the abbr_offset - while LLVM never produces +an object file like this, a reproduction can be produced by linking two simple +object files together with ld -r. + +CHECK: abbr_offset = 0x0000 +CHECK: abbr_offset = 0x0010 |

