[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
rnk at google.com
Wed Jul 9 14:18:00 PDT 2014
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.
More information about the cfe-commits