r220455 - Revert r218541 - Don't link in sanitizer runtimes if -nostdlib/-nodefaultlibs is provided.

Joerg Sonnenberger joerg at britannica.bec.de
Thu Oct 23 12:04:50 PDT 2014


On Thu, Oct 23, 2014 at 12:46:10AM -0000, Alexey Samsonov wrote:
> "-nodefaultlibs" is told to link only the libraries explicitly provided
> by the user, and providing "-fsanitize=address" is a clear indication of
> intention to link with ASan runtime.

Is it? I would expect such use for free-standing for example and I can
think of use cases for ASAN that do not involve the normal userland
libraries. As such, I believe this needs more thought...

Joerg



More information about the cfe-commits mailing list