On 09/05/2014 11:32 AM, Dmitry Vyukov wrote:
Can we do it w/o doubling number of runtime entry points?

I didn't find a good way to achieve this. See, normal asan reporting functions
have a noreturn attribute (defined in sanitizer.def) which can't be changed
depending on cmdline flag.

Looks like a wrong way to pass global options to runtime.
If we need
to pass several other options, number of entry points will sky rocket.

We only need new definitions if functions look significantly different for compiler
(noreturn, etc.).

I vaguely remember there are some globals that compiler uses to
communicate configuration (version, shadow base) to runtime.

This would make the recovery setting global then.
It may be desirable to have per-object (or even per-function) options (or maybe not).

-Y

Reply via email to