summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBuiltin.cpp
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2018-06-08 00:41:01 +0000
committerShoaib Meenai <smeenai@fb.com>2018-06-08 00:41:01 +0000
commita5fc603379e033904e866be18ff845228a58e0ad (patch)
tree5b81040088dbfb365e67ff2da75eb57457cda6d8 /clang/lib/CodeGen/CGBuiltin.cpp
parent1dc1ff85d7d7682619891ae192f250c2e66327b6 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud