1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/tools/llvm-symbolizer/split-dwarf-addr-object-relocation.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

12 lines
339 B
Plaintext

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