1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/tools/llvm-symbolizer/coff-dwarf.test
Chris Bieneman a0cf841296 [LIT] Fix system-windows
Turns out if you were on windows and your default target wasn't windows the system-windows feature wasn't getting enabled.

This fixes that and updates the coff-dwarf test to rely on the new "target-windows" feature. That test was the reason why system-windows was changed to not always be enabled on Windows hosts.

llvm-svn: 289503
2016-12-13 00:29:56 +00:00

17 lines
400 B
Plaintext

RUN: grep '^ADDR:' %s | sed -s 's/ADDR: //' \
RUN: | llvm-symbolizer --inlining --relative-address -obj="%p/Inputs/coff-dwarf.exe" \
RUN: | FileCheck %s
This test relies on UnDecorateSymbolName, which is Windows-only.
REQUIRES: target-windows
ADDR: 0x5009
ADDR: 0x5038
CHECK: foo(void)
CHECK: coff-dwarf.cpp:7
CHECK: bar(void)
CHECK: coff-dwarf.cpp:13
CHECK: main
CHECK: coff-dwarf.cpp:17