Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Unified Diff: lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp

Issue 738143002: Add flag to enable Dwarf exception handling on ARM (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@merge_35
Patch Set: also !isTargetEHABICompatible for SFI NaCl Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
diff --git a/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp b/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
index c0037f65dbff0742cec15a29b07786a2b103ba88..6a3ec8fcc48679d52f8c8bc3bff05f60d475bda2 100644
--- a/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
+++ b/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
@@ -11,7 +11,6 @@
//
//===----------------------------------------------------------------------===//
-#include "ARMMCTargetDesc.h"
#include "ARMBaseInfo.h"
#include "ARMMCAsmInfo.h"
#include "ARMMCTargetDesc.h"
@@ -237,15 +236,8 @@ static MCAsmInfo *createARMMCAsmInfo(const MCRegisterInfo &MRI, StringRef TT) {
default:
if (TheTriple.isOSBinFormatMachO())
MAI = new ARMMCAsmInfoDarwin(TT);
- // @LOCALMOD-BEGIN
- else {
- ARMELFMCAsmInfo *AEMAI = new ARMELFMCAsmInfo(TT);
- if (TheTriple.isOSNaCl())
- // NativeClient uses Dwarf exception handling
- AEMAI->setExceptionsType(ExceptionHandling::DwarfCFI);
- MAI = AEMAI;
- }
- // @LOCALMOD-END
+ else
+ MAI = new ARMELFMCAsmInfo(TT);
break;
}
« no previous file with comments | « lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698