diff options
author | Markus Böck <markus.boeck02@gmail.com> | 2023-01-06 22:48:02 +0100 |
---|---|---|
committer | Markus Böck <markus.boeck02@gmail.com> | 2023-01-06 22:48:14 +0100 |
commit | 3adb0ac183242cd18931dc0dc011385403727f92 (patch) | |
tree | c07819dd8d58b660c81a8f887792be44a8fa9edb /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h | |
parent | e22ff52c10d1fdaedc3e24a7884ec215e78eeec4 (diff) | |
download | llvm-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/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions