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

Unified Diff: lib/Target/ARM/ARMSubtarget.h

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: 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 | « no previous file | lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/ARM/ARMSubtarget.h
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h
index f646f1537b7cebc37f8f94438085720be53650e1..a65a939fb4e63096021a72c4a64c61d14522af2d 100644
--- a/lib/Target/ARM/ARMSubtarget.h
+++ b/lib/Target/ARM/ARMSubtarget.h
@@ -40,6 +40,8 @@ class GlobalValue;
class StringRef;
class TargetOptions;
+extern cl::opt<bool> EnableARMDwarfEH; // @LOCALMOD
+
class ARMSubtarget : public ARMGenSubtargetInfo {
protected:
enum ARMProcFamilyEnum {
@@ -383,7 +385,7 @@ public:
TargetTriple.getEnvironment() == Triple::EABIHF ||
TargetTriple.getEnvironment() == Triple::GNUEABIHF ||
TargetTriple.getEnvironment() == Triple::Android) &&
- !isTargetDarwin() && !isTargetWindows();
+ !isTargetDarwin() && !isTargetWindows() && !EnableARMDwarfEH;//@LOCALMOD
JF 2014/11/19 19:32:05 !isTargetNaCl() ?
Derek Schuff 2014/11/19 19:56:48 isTargetNaCl doesn't work for Non-SFI mode, which
}
bool isTargetHardFloat() const {
« no previous file with comments | « no previous file | lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698