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: [PATCHv2] Don't expand string/memory builtins if ASan is enabled.


On 10/21/2014 05:26 PM, Maxim Ostapenko wrote:
Hi,

this is the second version of the patch. Here the major changes from the
previous one:

[snip]

      case BUILT_IN_BCMP:
+      *intercepted_p = false;

The code which identifies interceptors seems to be duplicated in expand_builtin. What about factoring this out to some is_asan_intercepted() in asan.h?

-Y


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