Hi All:I now would like to compile chrome with C/C++ sanitizers, by adding the -fsanitize option to the toochain.ninja (add the option after cflag, cflag_cc and ldflag). But seems it brings a lot of trouble to protoc. If I understand correctly, the protoc only helps to generate some files and do not need to be instrumented with sanitizers. Could anyone give me the hint how to only instrument the code that would be finally compiled to Chrome? For example, no bother to care about some third-party folder and the ninja file to add the flag. I appreciate any help here.
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/c73b6a35-6a78-457b-a562-b95cec639fbfn%40chromium.org.