This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC Asan instrumentation control


Jakub wrote:
> You can still -include some header file from the command line and put the
> attributes in there or similar.

True although this probably won't work with C++ methods.

> The blacklist is really terribly ugly hack,
> which can't work reliably. What do you do for anonymous namespaces? For
> not exported functions? Identifying externally decls by name is
> problematic, without mangled names very problematic, with mangled names not
> useful for symbols that are local to the TU.

Good points, I guess the present blacklist format does not really address them. But I don't think that's a fundamental limitation - it should be possible to cook a nice query language for C++.

Konstantin wrote:
> All of this is a bit ugly.
> But we have no other mechanism that works today.

Agreed. I guess our main question is whether such mechanism is really needed by developers.

-Y


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]