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

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: 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 | « 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..0f8e66e7b92ded54ce7c776abd3d3e1ab8696dde 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,8 @@ public:
TargetTriple.getEnvironment() == Triple::EABIHF ||
TargetTriple.getEnvironment() == Triple::GNUEABIHF ||
TargetTriple.getEnvironment() == Triple::Android) &&
- !isTargetDarwin() && !isTargetWindows();
+ !isTargetDarwin() && !isTargetWindows() &&
+ !isTargetNaCl() && !EnableARMDwarfEH; // @LOCALMOD
}
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