summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2017-11-17 08:04:40 +0000
committerMartin Storsjo <martin@martin.st>2017-11-17 08:04:40 +0000
commitb4c907edd7340ce28d4047f6cc9a2d83702c4989 (patch)
tree8a0edddd169f28d5a3c9897d93423565ee901efc /llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
parente9a6456ab3b6e39b3203e39ca64a8031db9c28cd (diff)
downloadbcm5719-llvm-b4c907edd7340ce28d4047f6cc9a2d83702c4989.tar.gz
bcm5719-llvm-b4c907edd7340ce28d4047f6cc9a2d83702c4989.zip
[ARM] Use dwarf exception handling on MinGW
Enabling and using dwarf exceptions seems like an easier path to take, than to make the COFF/ARM backend output EHABI directives. Previously, no EH model was enabled at all on this target. There's no point in setting UseIntegratedAssembler to false since GNU binutils doesn't support Windows on ARM, and since we don't need to support external assembler, we don't need to use register numbers in cfi directives. Differential Revision: https://reviews.llvm.org/D39532 llvm-svn: 318510
Diffstat (limited to 'llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp b/llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
index 608e1e01f8c..177b636077b 100644
--- a/llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
+++ b/llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
@@ -105,10 +105,10 @@ ARMCOFFMCAsmInfoGNU::ARMCOFFMCAsmInfoGNU() {
PrivateLabelPrefix = ".L";
SupportsDebugInformation = true;
- ExceptionsType = ExceptionHandling::None;
+ ExceptionsType = ExceptionHandling::DwarfCFI;
UseParensForSymbolVariant = true;
- UseIntegratedAssembler = false;
- DwarfRegNumForCFI = true;
+ UseIntegratedAssembler = true;
+ DwarfRegNumForCFI = false;
}
OpenPOWER on IntegriCloud