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/ScriptInterpreterPython.cpp | |
| parent | e22ff52c10d1fdaedc3e24a7884ec215e78eeec4 (diff) | |
[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.cpp')
0 files changed, 0 insertions, 0 deletions
