[PATCH] D11095: CFI: Add a default blacklist.

Peter Collingbourne peter at pcc.me.uk
Thu Jul 9 19:09:45 PDT 2015


pcc created this revision.
pcc added a reviewer: samsonov.
pcc added a subscriber: llvm-commits.

http://reviews.llvm.org/D11095

Files:
  lib/CMakeLists.txt
  lib/cfi/CMakeLists.txt
  lib/cfi/cfi_blacklist.txt

Index: lib/cfi/cfi_blacklist.txt
===================================================================
--- /dev/null
+++ lib/cfi/cfi_blacklist.txt
@@ -0,0 +1,8 @@
+# Standard library types.
+type:std::*
+
+# The stdext namespace contains Microsoft standard library extensions.
+type:stdext::*
+
+# Types with a uuid attribute, i.e. COM types.
+type:attr:uuid
Index: lib/cfi/CMakeLists.txt
===================================================================
--- /dev/null
+++ lib/cfi/CMakeLists.txt
@@ -0,0 +1,3 @@
+add_custom_target(cfi)
+add_compiler_rt_resource_file(cfi_blacklist cfi_blacklist.txt)
+add_dependencies(cfi cfi_blacklist)
Index: lib/CMakeLists.txt
===================================================================
--- lib/CMakeLists.txt
+++ lib/CMakeLists.txt
@@ -10,6 +10,7 @@
 
 if(COMPILER_RT_HAS_SANITIZER_COMMON)
   add_subdirectory(sanitizer_common)
+  add_subdirectory(cfi)
   add_subdirectory(lsan)
   add_subdirectory(ubsan)
 endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11095.29419.patch
Type: text/x-patch
Size: 960 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150710/cf3b6ac0/attachment.bin>


More information about the llvm-commits mailing list