[PATCH] Disable EHABI when -fno-exceptions option is chosen.

Renato Golin renato.golin at linaro.org
Sat Feb 1 15:35:14 PST 2014

On 1 February 2014 19:17, Evgeniy Stepanov <eugenis at google.com> wrote:

> We build sanitizer runtimes with exceptions disabled, because
> otherwise we get a libstdc++ dependency, which is not a good thing.
> Your last change effectively hardcodes the value of -arm-disable-ehabi
> option - I can not override it on the command line, because now it is
> always present in cc1 flags.

Ah, this is bad.

We can discuss more in the main list, maybe even jump directly to using
-munwind-tables instead. But for now let's play it safe. I'm at FOSDEM
right now, but feel free to revert it. If not, I'll do it on Monday. Sorry
about that. (some problems only show up when you break things ;)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140201/85fbf179/attachment.html>

More information about the cfe-commits mailing list