HomePhabricator

[lld] Watch out for tool names inside paths when substituting tool-paths in lit.

Authored by lhames on Dec 11 2015, 2:09 PM.

Description

[lld] Watch out for tool names inside paths when substituting tool-paths in lit.

If we don't filter these out we can end up, generating bogus paths, for example:
/home/user/lld/build/bin -> /home/user/home/user/lld/build/bin/lld/build/bin.

llvm-svn: 255378

Details

Committed
lhamesDec 11 2015, 2:09 PM
Parents
rG237ccb165e18: Reapply "[Modules] Fix regression when an elaborated-type-specifier mentions a…
Branches
Unknown
Tags
Unknown