1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/tools/llvm-symbolizer/split-dwarf-multiple-cu.test
David Blaikie e5c30b9eef llvm-symbolizer: Extract individual test cases now that it's easier to use directly (without a piped input file)
Pulling out the split-dwarf tests by way of example of how I think
llvm-symbolizer should be tested going forward. Open to
debate/discussion, though.

llvm-svn: 352004
2019-01-24 01:19:17 +00:00

13 lines
295 B
Plaintext

RUN: rm -rf %t
RUN: mkdir -p %t
RUN: cp %p/Inputs/split-dwarf-multiple-cu.dwo %t
RUN: cd %t
RUN: llvm-symbolizer --obj=%p/Inputs/split-dwarf-multiple-cu.o 0x4 | FileCheck %s
CHECK: f2
CHECK-NEXT: split-dwarf-multiple-cu.cpp:3:3
CHECK-NEXT: f3
CHECK-NEXT: split-dwarf-multiple-cu.cpp:6:0