summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-09-29 23:06:57 +0000
committerHans Wennborg <hans@hanshq.net>2014-09-29 23:06:57 +0000
commitd9dd4d29b7dee9035f1379af467f3366c4ca0bd1 (patch)
tree8baae709e9767945dee708c6a119f06f26c9de18 /lldb/source/Interpreter/ScriptInterpreterPython.cpp
parentb166d45730e1d32bca8c03482034222c42314693 (diff)
downloadbcm5719-llvm-d9dd4d29b7dee9035f1379af467f3366c4ca0bd1.tar.gz
bcm5719-llvm-d9dd4d29b7dee9035f1379af467f3366c4ca0bd1.zip
Don't trap when passing non-POD arguments to variadic functions in MS-compatibility mode
Clang warns (treated as error by default, but still ignored in system headers) when passing non-POD arguments to variadic functions, and generates a trap instruction to crash the program if that code is ever run. Unfortunately, MSVC happily generates code for such calls without a warning, and there is code in system headers that use it. This makes Clang not insert the trap instruction when in -fms-compatibility mode, while still generating the warning/error message. Differential Revision: http://reviews.llvm.org/D5492 llvm-svn: 218640
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud