]> granicus.if.org Git - clang/commitdiff
Revert "[Driver] Update default sanitizer blacklist location"
authorPetr Hosek <phosek@chromium.org>
Thu, 11 Jan 2018 07:05:38 +0000 (07:05 +0000)
committerPetr Hosek <phosek@chromium.org>
Thu, 11 Jan 2018 07:05:38 +0000 (07:05 +0000)
This reverts commit r322258: broke the dfsan build.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@322260 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/SanitizerArgs.cpp
test/Driver/Inputs/resource_dir/asan_blacklist.txt [moved from test/Driver/Inputs/resource_dir/share/asan_blacklist.txt with 100% similarity]
test/Driver/Inputs/resource_dir/hwasan_blacklist.txt [moved from test/Driver/Inputs/resource_dir/share/hwasan_blacklist.txt with 100% similarity]
test/Driver/Inputs/resource_dir/ubsan_blacklist.txt [moved from test/Driver/Inputs/resource_dir/share/ubsan_blacklist.txt with 100% similarity]
test/Driver/Inputs/resource_dir/vtables_blacklist.txt [moved from test/Driver/Inputs/resource_dir/share/vtables_blacklist.txt with 100% similarity]

index f1d6044033fc835c79db3f9cad070823b843395b..3c985a1f71d767eede6b20d9dc21d78ed0ba3a8d 100644 (file)
@@ -112,7 +112,7 @@ static bool getDefaultBlacklist(const Driver &D, SanitizerMask Kinds,
 
   if (BlacklistFile) {
     clang::SmallString<64> Path(D.ResourceDir);
-    llvm::sys::path::append(Path, "share", BlacklistFile);
+    llvm::sys::path::append(Path, BlacklistFile);
     BLPath = Path.str();
     return true;
   }