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

Evgeniy Stepanov eugenis at google.com
Sun Feb 2 02:47:04 PST 2014

Thanks. I've reverted this change (plus a fix in r200555) in r200627.

On Sun, Feb 2, 2014 at 3:35 AM, Renato Golin <renato.golin at linaro.org> wrote:
> 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 ;)
> cheers,
> --renato

More information about the cfe-commits mailing list