Fix coff-dwarf test for non-Windows platforms that cannot demangle MS C++ names
[oota-llvm.git] / test / tools / llvm-symbolizer / coff-dwarf.test
1 RUN: grep '^ADDR:' %s | sed -s 's/ADDR: //' \
2 RUN:     | llvm-symbolizer --inlining --relative-address -obj="%p/Inputs/coff-dwarf.exe" \
3 RUN:     | FileCheck %s
4
5 This test relies on UnDecorateSymbolName, which is Windows-only.
6 REQUIRES: system-windows
7
8 ADDR: 0x5009
9 ADDR: 0x5038
10
11 CHECK: foo(void)
12 CHECK: coff-dwarf.cpp:7
13 CHECK: bar(void)
14 CHECK: coff-dwarf.cpp:13
15 CHECK: main
16 CHECK: coff-dwarf.cpp:17