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

Peter Collingbourne peter at pcc.me.uk
Wed Jul 15 05:16:42 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL242287: CFI: Add a default blacklist. (authored by pcc).

Changed prior to commit:
  http://reviews.llvm.org/D11095?vs=29419&id=29774#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D11095

Files:
  compiler-rt/trunk/lib/CMakeLists.txt
  compiler-rt/trunk/lib/cfi/CMakeLists.txt
  compiler-rt/trunk/lib/cfi/cfi_blacklist.txt

Index: compiler-rt/trunk/lib/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/CMakeLists.txt
+++ compiler-rt/trunk/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()
Index: compiler-rt/trunk/lib/cfi/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/cfi/CMakeLists.txt
+++ compiler-rt/trunk/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: compiler-rt/trunk/lib/cfi/cfi_blacklist.txt
===================================================================
--- compiler-rt/trunk/lib/cfi/cfi_blacklist.txt
+++ compiler-rt/trunk/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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11095.29774.patch
Type: text/x-patch
Size: 1151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150715/83553f38/attachment.bin>


More information about the llvm-commits mailing list