[Lldb-commits] [lldb] 2c43cd8 - Turn off the warning that the undefined behavior I am using in

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 4 11:38:43 PDT 2022


Author: Jim Ingham
Date: 2022-10-04T11:38:32-07:00
New Revision: 2c43cd883c20b603bc7d9461bfa2591e80a36a3b

URL: https://github.com/llvm/llvm-project/commit/2c43cd883c20b603bc7d9461bfa2591e80a36a3b
DIFF: https://github.com/llvm/llvm-project/commit/2c43cd883c20b603bc7d9461bfa2591e80a36a3b.diff

LOG: Turn off the warning that the undefined behavior I am using in
a test generates.  The green dragon bot compiler is treating this
warning as an error for some reason, hopefully this will calm its
worries.

Added: 
    

Modified: 
    lldb/test/API/functionalities/ubsan/basic/Makefile

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/ubsan/basic/Makefile b/lldb/test/API/functionalities/ubsan/basic/Makefile
index b27db90a40de2..caa15bff7b816 100644
--- a/lldb/test/API/functionalities/ubsan/basic/Makefile
+++ b/lldb/test/API/functionalities/ubsan/basic/Makefile
@@ -1,4 +1,4 @@
 C_SOURCES := main.c
-CFLAGS_EXTRAS := -fsanitize=undefined -g
+CFLAGS_EXTRAS := -fsanitize=undefined -g -Wno-int-conversion
 
 include Makefile.rules


        


More information about the lldb-commits mailing list