[PATCH] D41706: [CMake] Install resource files into a share/ directory

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 3 10:42:09 PST 2018


phosek created this revision.
phosek added reviewers: beanz, smeenai, vitalybuka, fjricci.
Herald added a subscriber: cfe-commits.

This is related to moving the sanitizer blacklists to share/ subdirectory.


Repository:
  rC Clang

https://reviews.llvm.org/D41706

Files:
  lib/Driver/SanitizerArgs.cpp


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


More information about the cfe-commits mailing list