diff options
| author | James Henderson <jh7370@my.bristol.ac.uk> | 2019-02-01 10:24:55 +0000 |
|---|---|---|
| committer | James Henderson <jh7370@my.bristol.ac.uk> | 2019-02-01 10:24:55 +0000 |
| commit | 563a29d449def26b9e3bdf9fb1bf59d03b461a62 (patch) | |
| tree | 3af18344148fc7c990fa68f8f8bdf1cb34edb28b /llvm/test/DebugInfo/llvm-symbolizer.test | |
| parent | fb3ca132b12f7a3899b74e6a79d961201c7d9cfe (diff) | |
| download | bcm5719-llvm-563a29d449def26b9e3bdf9fb1bf59d03b461a62.tar.gz bcm5719-llvm-563a29d449def26b9e3bdf9fb1bf59d03b461a62.zip | |
[llvm-symbolizer][test] Rename and tweak tests using llvm-symbolizer
Prior to this change, there are a few tests called llvm-symbolizer* in
the DebugInfo test area. These really were testing either the DebugInfo
or Symbolizer library, rather than the llvm-symbolizer tool itself, so
this patch renames them to be clearer that they aren't explicitly tests
for llvm-symbolizer (such tests belong in test/tools/llvm-symbolizer).
This patch also reinstates the copying of a DWO file, removed previously
in r352752. The test needs this so that it could possibly fail.
Finally, some of the tests have been simplified slightly by removing
unnecessary switches and/or unused check-prefixes.
Reviewed by: dblaikie
Differential Revision: https://reviews.llvm.org/D57518
llvm-svn: 352847
Diffstat (limited to 'llvm/test/DebugInfo/llvm-symbolizer.test')
| -rw-r--r-- | llvm/test/DebugInfo/llvm-symbolizer.test | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/llvm/test/DebugInfo/llvm-symbolizer.test b/llvm/test/DebugInfo/llvm-symbolizer.test deleted file mode 100644 index 7b0bd142610..00000000000 --- a/llvm/test/DebugInfo/llvm-symbolizer.test +++ /dev/null @@ -1,30 +0,0 @@ -RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x40113f" > %t.input -RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x401020" >> %t.input -RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x40110e" >> %t.input -RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x401160" >> %t.input -RUN: echo "%p/Inputs/dwarfdump-test2.elf-x86-64 0x4004e8" >> %t.input -RUN: echo "%p/Inputs/dwarfdump-test2.elf-x86-64 0x4004f4" >> %t.input -RUN: echo "%p/Inputs/dwarfdump-test4.elf-x86-64 0x62c" >> %t.input - -RUN: llvm-symbolizer --functions=linkage --inlining --demangle=false \ -RUN: < %t.input | FileCheck --check-prefix=CHECK --check-prefix=SPLIT --check-prefix=DWO %s - -CHECK: main -CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16 - -CHECK: _start - -CHECK: _Z1fii -CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:11 - -CHECK: DummyClass -CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:4 - -CHECK: a -CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test2-helper.cc:2 - -CHECK: main -CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test2-main.cc:4 - -CHECK: _Z1cv -CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test4-part1.cc:2 |

