[ARM] Adjust how NEON shifts are lowered
[llvm-core.git] / test / tools / llvm-symbolizer / split-dwarf.test
blobe8185cee205cabe4fef19bc404b0cfe8ee7514cd
1 RUN: rm -rf %t
2 RUN: mkdir -p %t
4 RUN: cp %p/Inputs/split-dwarf-test.dwo %t
6 RUN: cd %t
7 RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false \
8 RUN:    --obj=%p/Inputs/split-dwarf-test 0x400504 0x4004f4 | FileCheck --check-prefix=CHECK --check-prefix=SPLIT --check-prefix=DWO %s
10 Ensure we get the same results in the absence of gmlt-like data in the executable but the presence of a .dwo file
12 RUN: echo "%p/Inputs/split-dwarf-test-nogmlt 0x400504" >> %t.input
13 RUN: echo "%p/Inputs/split-dwarf-test-nogmlt 0x4004f4" >> %t.input
14 RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false \
15 RUN:    --default-arch=i386 --obj=%p/Inputs/split-dwarf-test-nogmlt 0x400504 0x4004f4 | FileCheck --check-prefix=SPLIT --check-prefix=DWO %s
17 Ensure we get gmlt like results in the absence of a .dwo file but the presence of gmlt-like data in the executable
19 RUN: rm %t/split-dwarf-test.dwo
20 RUN: echo "%p/Inputs/split-dwarf-test 0x400504" >> %t.input
21 RUN: echo "%p/Inputs/split-dwarf-test 0x4004f4" >> %t.input
22 RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false \
23 RUN:    --default-arch=i386 --obj=%p/Inputs/split-dwarf-test 0x400504 0x4004f4 | FileCheck --check-prefix=SPLIT --check-prefix=NODWO %s
25 DWO: _Z2f2v
26 NODWO: {{^f2$}}
27 SPLIT-NEXT: {{.*}}split-dwarf-test.cpp
28 SPLIT-NEXT: main
29 SPLIT-NEXT: {{.*}}split-dwarf-test.cpp
31 SPLIT: _Z2f1v
32 SPLIT-NEXT: {{.*}}split-dwarf-test.cpp