diff options
author | Martin Storsjo <martin@martin.st> | 2018-12-18 08:32:37 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2018-12-18 08:32:37 +0000 |
commit | 8f0cb9c3a83be57e8c485e03e21dafa43f795d45 (patch) | |
tree | cf43136a57c678ca2df1f36d67bf1254289b5342 /llvm/lib/Target | |
parent | 284d426f6d258dbeac7109723b840bfa5b65ef8a (diff) | |
download | bcm5719-llvm-8f0cb9c3a83be57e8c485e03e21dafa43f795d45.tar.gz bcm5719-llvm-8f0cb9c3a83be57e8c485e03e21dafa43f795d45.zip |
[AArch64] [MinGW] Allow enabling SEH exceptions
The default still is dwarf, but SEH exceptions can now be enabled
optionally for the MinGW target.
Differential Revision: https://reviews.llvm.org/D55748
llvm-svn: 349451
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp index 0e486b93923..58e4a9c9a9e 100644 --- a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp +++ b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp @@ -132,4 +132,7 @@ AArch64MCAsmInfoGNUCOFF::AArch64MCAsmInfoGNUCOFF() { CommentString = "//"; ExceptionsType = ExceptionHandling::DwarfCFI; + // The default is dwarf, but WinEH can be enabled optionally, which requires + // WinEHEncodingType to be set. + WinEHEncodingType = WinEH::EncodingType::Itanium; } |