[PATCH] D51440: [ToolChains] Link to compiler-rt with -L + -l when possible
Manoj Gupta via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 29 11:21:24 PDT 2018
manojgupta added a comment.
In https://reviews.llvm.org/D51440#1217910, @mstorsjo wrote:
> In https://reviews.llvm.org/D51440#1217839, @manojgupta wrote:
>
> > Just a minor comment regarding test cases: Since you are adding both -L/path/ and -l<libname>, the test cases should be updated to check for the -L/path/ argument as well.
>
>
> I guess I could do that, although we don't know the path in the test, so we can only check for `-L.*`.
You can add a testcase that passes a known path via -resource-dir=path argument similar to --sysroot argument.
Repository:
rC Clang
https://reviews.llvm.org/D51440
More information about the cfe-commits
mailing list