Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-symbolizer / coff-dwarf.test
blob790763a2ddf0734ec7bb177c8d96741b1f4ca0d2
1 RUN: llvm-symbolizer 0x5009 0x5038 --inlining --relative-address -obj="%p/Inputs/coff-dwarf.exe" \
2 RUN:     | FileCheck %s
3 RUN: llvm-symbolizer 0x5009 0x5038 --inlines --relative-address -obj="%p/Inputs/coff-dwarf.exe" \
4 RUN:     | FileCheck %s
5 RUN: llvm-symbolizer 0x5009 0x5038 -i --relative-address -obj="%p/Inputs/coff-dwarf.exe" \
6 RUN:     | FileCheck %s
8 This test relies on UnDecorateSymbolName, which is Windows-only.
9 REQUIRES: target-windows, system-windows
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