blob: a564847ef94edd19334dbd958b6cd305669a4330 [file] [log] [blame]
RUN: echo 0x140006BA0 > %t.input
RUN: echo 0x140006C00 >> %t.input
RUN: echo 0x140006BB0 >> %t.input
RUN: echo 0x140006C10 >> %t.input
RUN: echo 0x140006C20 >> %t.input
RUN: echo 0x140006C30 >> %t.input
RUN: echo 0x140006C40 >> %t.input
RUN: echo 0x140006C70 >> %t.input
RUN: llvm-symbolizer -obj="%p/Inputs/test-columns.exe" < %t.input \
RUN: | FileCheck %s
This tests that the symbolizer outputs column info when it is present in the pdb.
CHECK: foo(void)
CHECK-NEXT: test.cpp:11:1
CHECK: {{^private_symbol$}}
CHECK-NEXT: test.cpp:14:1
CHECK: {{^main}}
CHECK-NEXT: test.cpp:16:0
CHECK: {{^foo_cdecl$}}
CHECK-NEXT: test.cpp:25:27
CHECK: {{^foo_stdcall$}}
CHECK-NEXT: test.cpp:26:31
CHECK: {{^foo_fastcall$}}
CHECK-NEXT: test.cpp:27:33
CHECK: {{^foo_vectorcall}}
CHECK-NEXT: test.cpp:28:37
CHECK: NS::Foo::bar(void)
CHECK-NEXT: test.cpp:6:0