[PATCH] D41706: [Driver] Update default sanitizer blacklist location

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 9 18:13:43 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rC322154: [Driver] Update default sanitizer blacklist location (authored by phosek, committed by ).

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.129206.patch
Type: text/x-patch
Size: 425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180110/ecc6b0ca/attachment.bin>


More information about the cfe-commits mailing list