diff options
| author | Shoaib Meenai <smeenai@fb.com> | 2018-06-08 00:41:01 +0000 |
|---|---|---|
| committer | Shoaib Meenai <smeenai@fb.com> | 2018-06-08 00:41:01 +0000 |
| commit | a5fc603379e033904e866be18ff845228a58e0ad (patch) | |
| tree | 5b81040088dbfb365e67ff2da75eb57457cda6d8 /clang/lib/CodeGen/CGBuiltin.cpp | |
| parent | 1dc1ff85d7d7682619891ae192f250c2e66327b6 (diff) | |
| download | bcm5719-llvm-a5fc603379e033904e866be18ff845228a58e0ad.tar.gz bcm5719-llvm-a5fc603379e033904e866be18ff845228a58e0ad.zip | |
[CodeGen] Always use MSVC personality for windows-msvc targets
The windows-msvc target is meant to be ABI compatible with MSVC,
including the exception handling. Ensure that a windows-msvc triple
always equates to the MSVC personality being used.
This mostly affects the GNUStep and ObjFW Obj-C runtimes. To the best of
my knowledge, those are normally not used with windows-msvc triples. I
believe WinObjC is based on GNUStep (or it at least uses libobjc2), but
that also takes the approach of wrapping Obj-C exceptions in C++
exceptions, so the MSVC personality function is the right one to use
there as well.
Differential Revision: https://reviews.llvm.org/D47862
llvm-svn: 334253
Diffstat (limited to 'clang/lib/CodeGen/CGBuiltin.cpp')
0 files changed, 0 insertions, 0 deletions

