[clang] clang: Forward exception_model flag for bitcode inputs (PR #146342)

Martin Storsjö via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 1 23:20:36 PDT 2025


mstorsjo wrote:

This broke building C++ modules for mingw targets. Repro:

`empty.cppm`:
```c++
export module empty;
```

```console
$ clang -target x86_64-windows-gnu -x c++-module empty.cppm -c -o empty.cppm.obj -std=gnu++23
error: invalid value 'seh' in '-exception-model=seh'
```

https://github.com/llvm/llvm-project/pull/146342


More information about the cfe-commits mailing list