[PATCH] D31140: [LLVMbugs] [Bug 18710] Only generate .ARM.exidx and .ARM.extab when needed in EHABI

Christian Bruel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 28 01:44:52 PDT 2017


chrib added a comment.

Yes we can enable cantunwind with the nothrow gcc attribute when exceptions are enabled
Forcing it in exceptions are not enabled (e.g for attribute cleanup) would require -funwind-tables at function level anyway

So the flag should work, but conceptually I think you are right, this semantic should be better carried thru attributes, hopefully without adding a new one


https://reviews.llvm.org/D31140





More information about the cfe-commits mailing list