Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / dsymutil / X86 / dwarf5-linetable.test
bloba07e13038e94baab56a1e0c87877340653cf8efc
1 # RUN: dsymutil -f -oso-prepend-path=%p/../Inputs/ -y %s -o - | llvm-dwarfdump -debug-line -debug-line-str --verbose - | FileCheck %s
3 # RUN: dsymutil --linker llvm -f -oso-prepend-path=%p/../Inputs/ -y %s -o - | llvm-dwarfdump -debug-line -debug-line-str --verbose - | FileCheck %s
5 # Source:
6 #   int main() {
7 #     return 0;
8 #   }
9 # Compile with:
10 #   clang -gdwarf-5 dwarf5-linetable.c -c -o dwarf5-linetable.o
12 ---
13 triple:          'x86_64-apple-darwin'
14 objects:
15   - filename:        dwarf5-linetable.o
16     timestamp:       1513021112
17     symbols:
18       - { sym: _main, objAddr: 0x0000000000000000, binAddr: 0x0000000100000FA0, size: 0x0000000F }
19 ...
21 # CHECK: .debug_line contents:
22 # CHECK: debug_line
23 # CHECK: Line table prologue:
24 # CHECK: total_length:
25 # CHECK: version: 5
26 # CHECK: include_directories[  0] =  .debug_line_str[0x00000000] = "/Users/buildslave/avl_test/test-line-str"
27 # CHECK: file_names[  0]:
28 # CHECK: name:  .debug_line_str[0x00000029] = "dwarf5-linetable.c"
29 # CHECK: .debug_line_str contents:
30 # CHECK: "/Users/buildslave/avl_test/test-line-str"
31 # CHECK: "dwarf5-linetable.c"