[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / tools / dsymutil / null-die.test
blobf046c5a27968d3109f7d10192d00a015dcba7f29
1 #RUN: dsymutil -f -oso-prepend-path=%p/Inputs/ -y %s -no-output 2>&1 \
2 #RUN:   |  FileCheck %s
4 # CHECK: warning: could not find referenced DIE
6 # We've modified the DW_AT_abstract_origin offset to reference a NULL DIE.
8 # Source:
10 #   void f1() {}
11 #   __attribute__((always_inline)) void f2() {
12 #     f1();
13 #   }
14 #   int main() {
15 #     f2();
16 #   }
18 # Compile with:
20 #   $ clang -g null_die.c -O0 -S -o null_die.s
22 #   Manually patch the DW_AT_abstract_origin to point to a NULL DIE.
24 #   $ llvm-mc -triple x86_64-apple-darwin -filetype=obj -o null_die.o null_die.s
26 # To generate the debug map:
28 #   $ ld -arch x86_64 -macosx_version_min 10.13.0 -lSystem null_die.o -o null_die
29 #   $ dsymutil -dump-debug-map null_die
31 ---
32 triple:          'x86_64-apple-darwin'
33 binary-path:     null_die
34 objects:
35   - filename:        /null_die.o
36     timestamp:       1505928022
37     symbols:
38       - { sym: _main, objAddr: 0x0000000000000020, binAddr: 0x0000000100000F10, size: 0x0000000D }
39       - { sym: _f1, objAddr: 0x0000000000000000, binAddr: 0x0000000100000EF0, size: 0x00000010 }
40       - { sym: _f2, objAddr: 0x0000000000000010, binAddr: 0x0000000100000F00, size: 0x00000010 }
41 ...