[Lldb-commits] [lldb] r347323 - [lit] Build and link TestIRMemoryMapWindows explicitly

Stella Stamenova via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 20 08:44:07 PST 2018


Author: stella.stamenova
Date: Tue Nov 20 08:44:06 2018
New Revision: 347323

URL: http://llvm.org/viewvc/llvm-project?rev=347323&view=rev
Log:
[lit] Build and link TestIRMemoryMapWindows explicitly

If we just invoke clang-cl without specifying the linker, the tests fail on Windows because they cannot find the correct linker to use, so it needs to be specified explicitly

Modified:
    lldb/trunk/lit/Expr/TestIRMemoryMapWindows.test

Modified: lldb/trunk/lit/Expr/TestIRMemoryMapWindows.test
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/Expr/TestIRMemoryMapWindows.test?rev=347323&r1=347322&r2=347323&view=diff
==============================================================================
--- lldb/trunk/lit/Expr/TestIRMemoryMapWindows.test (original)
+++ lldb/trunk/lit/Expr/TestIRMemoryMapWindows.test Tue Nov 20 08:44:06 2018
@@ -1,6 +1,7 @@
 # REQUIRES: system-windows
 
-# RUN: %clang_cl /Zi %p/Inputs/call-function.cpp -o %t
+# RUN: %clang_cl /Zi /GS- %p/Inputs/call-function.cpp /c /o %t.obj
+# RUN: %msvc_link /debug:full %t.obj /out:%t
 
 # RUN: lldb-test ir-memory-map %t %S/Inputs/ir-memory-map-basic
 # RUN: lldb-test ir-memory-map -host-only %t %S/Inputs/ir-memory-map-basic




More information about the lldb-commits mailing list