mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
682320b00d
This was a bug in the test that was only exposed as a result of refactoring some code in lit configuration files. Previously, llvm's lit configuration would only set the target-windows feature if the system was also windows. Since cross-compilation is a thing, this isn't correct. target-windows should be set independently of system-windows. Adding to that bug, this particular test then checked for target-windows when it really meant "can I call a certain API on the host machine", which is what system-windows is for. Ultimately, this test only works if *both* the target and host are Windows, so I've updated the test to reflect that. llvm-svn: 313468
17 lines
416 B
Plaintext
17 lines
416 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, system-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
|