forked from OSchip/llvm-project
Don't pattern match "/clang" so we don't mangle directory names. Some
tests use absolute paths to clang. llvm-svn: 122796
This commit is contained in:
parent
2e28697c60
commit
4b71405b71
|
@ -156,7 +156,8 @@ for sub in ['llvmgcc', 'llvmgxx', 'emitir', 'compile_cxx', 'compile_c',
|
||||||
# includes every tool placed in $(LLVM_OBJ_ROOT)/$(BuildMode)/bin
|
# includes every tool placed in $(LLVM_OBJ_ROOT)/$(BuildMode)/bin
|
||||||
# (llvm_tools_dir in lit parlance).
|
# (llvm_tools_dir in lit parlance).
|
||||||
# Don't match 'bugpoint-' or 'clang-'.
|
# Don't match 'bugpoint-' or 'clang-'.
|
||||||
for pattern in [r"\bbugpoint\b(?!-)", r"\bclang\b(?!-)",
|
# Don't match '/clang'.
|
||||||
|
for pattern in [r"\bbugpoint\b(?!-)", r"(?<!/)\bclang\b(?!-)",
|
||||||
r"\bedis\b", r"\bgold\b",
|
r"\bedis\b", r"\bgold\b",
|
||||||
r"\bllc\b", r"\blli\b",
|
r"\bllc\b", r"\blli\b",
|
||||||
r"\bllvm-ar\b", r"\bllvm-as\b",
|
r"\bllvm-ar\b", r"\bllvm-as\b",
|
||||||
|
|
Loading…
Reference in New Issue