mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-10 06:53:50 +00:00
add missing patch
This commit is contained in:
parent
dd8713ffce
commit
ee3519828b
14
debian/patches/llvm25468-lldb-swig-format-security.diff
vendored
Normal file
14
debian/patches/llvm25468-lldb-swig-format-security.diff
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
--- a/lldb/scripts/interface/SBError.i
|
||||
+++ b/lldb/scripts/interface/SBError.i
|
||||
@@ -57,6 +57,11 @@
|
||||
condition and we get back a void process object.
|
||||
") SBError;
|
||||
|
||||
+%{
|
||||
+// https://llvm.org/bugs/show_bug.cgi?id=25468
|
||||
+#pragma GCC diagnostic ignored "-Wformat-security"
|
||||
+%}
|
||||
+
|
||||
class SBError {
|
||||
public:
|
||||
SBError ();
|
11
debian/patches/llvm26003-sanitizer-check-env.diff
vendored
Normal file
11
debian/patches/llvm26003-sanitizer-check-env.diff
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/compiler-rt/cmake/Modules/SanitizerUtils.cmake
|
||||
+++ b/compiler-rt/cmake/Modules/SanitizerUtils.cmake
|
||||
@@ -86,7 +86,7 @@
|
||||
# Add target to check code style for sanitizer runtimes.
|
||||
if(UNIX)
|
||||
add_custom_target(SanitizerLintCheck
|
||||
- COMMAND LLVM_CHECKOUT=${LLVM_MAIN_SRC_DIR} SILENT=1 TMPDIR=
|
||||
+ COMMAND env LLVM_CHECKOUT=${LLVM_MAIN_SRC_DIR} SILENT=1 TMPDIR=
|
||||
PYTHON_EXECUTABLE=${PYTHON_EXECUTABLE}
|
||||
COMPILER_RT=${COMPILER_RT_SOURCE_DIR}
|
||||
${SANITIZER_LINT_SCRIPT}
|
Loading…
Reference in New Issue
Block a user