Allow __builtin_setjmp/__builtin_longjmp on ARM

The problems in the llvm target got fixed in r242481 and r242482.

Related to rdar://20544153, rdar://20660786

llvm-svn: 242489
This commit is contained in:
Matthias Braun 2015-07-17 00:15:22 +00:00
parent 109ef8cf6b
commit d1e2fad2e0
1 changed files with 4 additions and 0 deletions

View File

@ -4750,6 +4750,10 @@ public:
if (RegNo == 1) return 1; if (RegNo == 1) return 1;
return -1; return -1;
} }
bool hasSjLjLowering() const override {
return true;
}
}; };
bool ARMTargetInfo::setFPMath(StringRef Name) { bool ARMTargetInfo::setFPMath(StringRef Name) {