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

Anton Korobeynikov anton at korobeynikov.info
Sun Feb 2 05:46:10 PST 2014

Probably we can use uwtable attribute to control this?

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
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the cfe-commits mailing list