summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/SymbolFile/PDB/function-level-linking.test
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/Shell/SymbolFile/PDB/function-level-linking.test')
-rw-r--r--lldb/test/Shell/SymbolFile/PDB/function-level-linking.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/test/Shell/SymbolFile/PDB/function-level-linking.test b/lldb/test/Shell/SymbolFile/PDB/function-level-linking.test
new file mode 100644
index 00000000000..37b2cbc761b
--- /dev/null
+++ b/lldb/test/Shell/SymbolFile/PDB/function-level-linking.test
@@ -0,0 +1,5 @@
+REQUIRES: system-windows, lld
+RUN: %clang_cl /c /Zi /Gy %S/Inputs/FunctionLevelLinkingTest.cpp /o %t.obj
+RUN: lld-link /debug:full /nodefaultlib /entry:main /order:@%S/Inputs/FunctionLevelLinkingTest.ord %t.obj /out:%t.exe
+RUN: env LLDB_USE_NATIVE_PDB_READER=1 lldb-test symbols -verify %t.exe
+RUN: env LLDB_USE_NATIVE_PDB_READER=0 lldb-test symbols -verify %t.exe
OpenPOWER on IntegriCloud