forked from OSchip/llvm-project
Reland "[Driver] Update default sanitizer blacklist location"
This is related to moving the sanitizer blacklists to share/ subdirectory. Differential Revision: https://reviews.llvm.org/D41706 llvm-svn: 322258
This commit is contained in:
parent
a73fa2a0ed
commit
bb9c6fc3bc
|
@ -112,7 +112,7 @@ static bool getDefaultBlacklist(const Driver &D, SanitizerMask Kinds,
|
||||||
|
|
||||||
if (BlacklistFile) {
|
if (BlacklistFile) {
|
||||||
clang::SmallString<64> Path(D.ResourceDir);
|
clang::SmallString<64> Path(D.ResourceDir);
|
||||||
llvm::sys::path::append(Path, BlacklistFile);
|
llvm::sys::path::append(Path, "share", BlacklistFile);
|
||||||
BLPath = Path.str();
|
BLPath = Path.str();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue