Chromium Code Reviews| 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 { |