Patch LLDB SWIG interfaces to workaround a bug in SWIG

See https://llvm.org/bugs/show_bug.cgi?id=25468
This commit is contained in:
Sylvestre Ledru 2016-01-04 12:47:12 +00:00
parent 08f5bc9767
commit a996cf3647
3 changed files with 17 additions and 0 deletions

2
debian/changelog vendored
View File

@ -11,6 +11,8 @@ llvm-toolchain-snapshot (1:3.8~svn256489-1~exp1) experimental; urgency=medium
- Remove "dummy" documentation artifacts from llvm-X.Y-docs
package. Not built/installed by CMake, not useful.
- Update control/rules to support CMake
- Patch LLDB SWIG interfaces to workaround a bug in SWIG
See https://llvm.org/bugs/show_bug.cgi?id=25468
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 28 Dec 2015 09:31:25 +0100

View 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 ();

View File

@ -39,3 +39,4 @@ compiler-rt-i586.diff
clang-analyzer-force-version.diff
fix-cmake-config-prefix.diff
lldb-test-makefile.diff
llvm25468-lldb-swig-format-security.diff