[PATCH] D41706: [Driver] Update default sanitizer blacklist location
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 3 11:03:13 PST 2018
phosek updated this revision to Diff 128543.
Repository:
rC Clang
https://reviews.llvm.org/D41706
Files:
lib/Driver/SanitizerArgs.cpp
test/Driver/Inputs/resource_dir/asan_blacklist.txt
test/Driver/Inputs/resource_dir/hwasan_blacklist.txt
test/Driver/Inputs/resource_dir/share/asan_blacklist.txt
test/Driver/Inputs/resource_dir/share/hwasan_blacklist.txt
test/Driver/Inputs/resource_dir/share/ubsan_blacklist.txt
test/Driver/Inputs/resource_dir/share/vtables_blacklist.txt
test/Driver/Inputs/resource_dir/ubsan_blacklist.txt
test/Driver/Inputs/resource_dir/vtables_blacklist.txt
Index: lib/Driver/SanitizerArgs.cpp
===================================================================
--- lib/Driver/SanitizerArgs.cpp
+++ lib/Driver/SanitizerArgs.cpp
@@ -112,7 +112,7 @@
if (BlacklistFile) {
clang::SmallString<64> Path(D.ResourceDir);
- llvm::sys::path::append(Path, BlacklistFile);
+ llvm::sys::path::append(Path, "share", BlacklistFile);
BLPath = Path.str();
return true;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41706.128543.patch
Type: text/x-patch
Size: 425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180103/d0663904/attachment.bin>
More information about the cfe-commits
mailing list