| 1 |
RUN: echo 0x140001000 > %t.input |
| 2 |
RUN: echo 0x140001030 >> %t.input |
| 3 |
RUN: echo 0x140001010 >> %t.input |
| 4 |
RUN: echo 0x140001040 >> %t.input |
| 5 |
RUN: echo 0x140001050 >> %t.input |
| 6 |
RUN: echo 0x140001060 >> %t.input |
| 7 |
RUN: echo 0x140001070 >> %t.input |
| 8 |
RUN: echo 0x140001080 >> %t.input |
| 9 |
RUN: llvm-symbolizer --obj="%p/Inputs/test-columns.exe" < %t.input \ |
| 10 |
RUN: | FileCheck %s |
| 11 |
|
| 12 |
This tests that the symbolizer outputs column info when it is present in the pdb. |
| 13 |
|
| 14 |
CHECK: foo(void) |
| 15 |
CHECK-NEXT: test.cpp:11:1 |
| 16 |
CHECK: {{^private_symbol$}} |
| 17 |
CHECK-NEXT: test.cpp:14:1 |
| 18 |
CHECK: {{^main}} |
| 19 |
CHECK-NEXT: test.cpp:16:0 |
| 20 |
CHECK: {{^foo_cdecl$}} |
| 21 |
CHECK-NEXT: test.cpp:25:27 |
| 22 |
CHECK: {{^foo_stdcall$}} |
| 23 |
CHECK-NEXT: test.cpp:26:31 |
| 24 |
CHECK: {{^foo_fastcall$}} |
| 25 |
CHECK-NEXT: test.cpp:27:33 |
| 26 |
CHECK: {{^foo_vectorcall}} |
| 27 |
CHECK-NEXT: test.cpp:28:37 |
| 28 |
CHECK: NS::Foo::bar(void) |
| 29 |
CHECK-NEXT: test.cpp:6:0 |