From 8ce71fb2c743d68a8356a1649fc31c5cb4994140 Mon Sep 17 00:00:00 2001 From: Stella Stamenova Date: Tue, 20 Nov 2018 16:44:06 +0000 Subject: [PATCH] [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 llvm-svn: 347323 --- lldb/lit/Expr/TestIRMemoryMapWindows.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lldb/lit/Expr/TestIRMemoryMapWindows.test b/lldb/lit/Expr/TestIRMemoryMapWindows.test index 738ca6b2..f25db59 100644 --- a/lldb/lit/Expr/TestIRMemoryMapWindows.test +++ b/lldb/lit/Expr/TestIRMemoryMapWindows.test @@ -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 -- 2.7.4