[PATCH] clang-cl: Store the linker options for the ASAN runtime libraries in the obj files as opposed to pass it to the linker on the command line
ehsan.akhgari at gmail.com
Wed Jul 9 14:39:25 PDT 2014
On Wed, Jul 9, 2014 at 5:18 PM, Reid Kleckner <rnk at google.com> wrote:
> Generally we want to be careful about embedding full paths into the
> binary. While nobody is doing distributed builds today, in the future we
> want to support that.
> What do you think of embedding just the basename into .drectve, and adding
> clang's resource dir to the LIB environment variable in the build system?
> That's a far less invasive change than making clang do the link step
> instead of link.exe, and should solve the problem.
That sounds fine for my needs. But it will break the simple case where
clang-cl -c -fsanitize=address foo.cpp
Is that OK?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits