[InstCombine] Signed saturation patterns
[llvm-core.git] / test / tools / dsymutil / X86 / common-sym.test
blob0f07c8f39b81aaf31af717b0071ab273f8517f0d
1 RUN: dsymutil -oso-prepend-path %p/.. %p/../Inputs/common.macho.x86_64 -f -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
3 The test was compiled from a single source:
4 $ cat common.c 
5 char common[16];
6 int main() { return 0;}
7 void bar() {}
8 $ clang -g -c common.c -o common.macho.x86_64.o
9 $ clang common.macho.x86_64.o -o common.macho.x86_64
11 CHECK:   DW_TAG_variable
12 CHECK:     DW_AT_name {{.*}} "common"
13 CHECK-NOT: {{NULL|DW_TAG}}
14 CHECK:     DW_AT_location {{.*}} (DW_OP_addr 0x100001000)
16 CHECK:   DW_TAG_subprogram
17 CHECK-NEXT:     DW_AT_low_pc{{.*}}(0x0000000100000f80)
18 CHECK-NOT: {{NULL|DW_TAG}}
19 CHECK:     DW_AT_name {{.*}} "main"
21 CHECK:   DW_TAG_subprogram
22 CHECK-NEXT:     DW_AT_low_pc{{.*}}(0x0000000100000f90)
23 CHECK-NOT: {{NULL|DW_TAG}}
24 CHECK:     DW_AT_name {{.*}} "bar"