[Lldb-commits] [lldb] 4b0563f - test: correct flags for Windows

Saleem Abdulrasool via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 23 20:21:47 PST 2019


Author: Saleem Abdulrasool
Date: 2019-12-23T20:21:26-08:00
New Revision: 4b0563f89f939f2160002298d5491a8fc8ee1137

URL: https://github.com/llvm/llvm-project/commit/4b0563f89f939f2160002298d5491a8fc8ee1137
DIFF: https://github.com/llvm/llvm-project/commit/4b0563f89f939f2160002298d5491a8fc8ee1137.diff

LOG: test: correct flags for Windows

Adjust the flags for the LLDB test on Windows.  This test was previously
not running, but after the fix to the python detection, we now run this.

Added: 
    

Modified: 
    lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile
index 9c2ed1851093..fa147bb2096a 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile
@@ -6,6 +6,8 @@ endif
 
 ifeq "$(OS)" "Darwin"
     LD_EXTRAS = -Xlinker -dead_strip
+else ifeq "$(OS)" "Windows_NT"
+    CFLAGS_EXTRAS += /Gw /Gy
 else
     CFLAGS_EXTRAS += -fdata-sections -ffunction-sections
     LD_EXTRAS = -Wl,--gc-sections


        


More information about the lldb-commits mailing list