If the function has the landingpad instruction, then the
handlerdata should be emitted even if the function has
nouwnind attribute. Otherwise, following code will not
work:
void test1() noexcept {
try { throw_exception(); } catch (...) { }
}
Paths
| Differential D3748
Fix ARM EHABI when function has landingpad and nounwind. ClosedPublic Authored by logan on May 13 2014, 12:43 PM.
Details
Diff Detail Event Timelinelogan updated this object. This revision is now accepted and ready to land.May 14 2014, 9:47 AM
Revision Contents
Diff 9360 lib/CodeGen/AsmPrinter/ARMException.cpp
test/CodeGen/ARM/ehabi-handlerdata-nounwind.ll
|