aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
diff options
context:
space:
mode:
authorMarkus Böck <markus.boeck02@gmail.com>2023-01-06 22:48:02 +0100
committerMarkus Böck <markus.boeck02@gmail.com>2023-01-06 22:48:14 +0100
commit3adb0ac183242cd18931dc0dc011385403727f92 (patch)
treec07819dd8d58b660c81a8f887792be44a8fa9edb /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
parente22ff52c10d1fdaedc3e24a7884ec215e78eeec4 (diff)
downloadllvm-3adb0ac183242cd18931dc0dc011385403727f92.zip
llvm-3adb0ac183242cd18931dc0dc011385403727f92.tar.gz
llvm-3adb0ac183242cd18931dc0dc011385403727f92.tar.bz2
[mlir][py] Fix python modules build with clang-cl due to requiring exceptions
The generator expression previously used to enable exceptions would not work since the compiler id of clang-cl is Clang, even if used via clang-cl. The patch fixes that by replacing the generator expression with simple logic, setting the right compiler flags for all MSVC like compilers (including clang-cl) and all GCC like compilers. Differential Revision: https://reviews.llvm.org/D141155
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions