[compiler-rt] r242287 - CFI: Add a default blacklist.
Peter Collingbourne
peter at pcc.me.uk
Wed Jul 15 05:16:25 PDT 2015
Author: pcc
Date: Wed Jul 15 07:16:25 2015
New Revision: 242287
URL: http://llvm.org/viewvc/llvm-project?rev=242287&view=rev
Log:
CFI: Add a default blacklist.
Differential Revision: http://reviews.llvm.org/D11095
Added:
compiler-rt/trunk/lib/cfi/
compiler-rt/trunk/lib/cfi/CMakeLists.txt
compiler-rt/trunk/lib/cfi/cfi_blacklist.txt
Modified:
compiler-rt/trunk/lib/CMakeLists.txt
Modified: compiler-rt/trunk/lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/CMakeLists.txt?rev=242287&r1=242286&r2=242287&view=diff
==============================================================================
--- compiler-rt/trunk/lib/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/CMakeLists.txt Wed Jul 15 07:16:25 2015
@@ -10,6 +10,7 @@ endif()
if(COMPILER_RT_HAS_SANITIZER_COMMON)
add_subdirectory(sanitizer_common)
+ add_subdirectory(cfi)
add_subdirectory(lsan)
add_subdirectory(ubsan)
endif()
Added: compiler-rt/trunk/lib/cfi/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/cfi/CMakeLists.txt?rev=242287&view=auto
==============================================================================
--- compiler-rt/trunk/lib/cfi/CMakeLists.txt (added)
+++ compiler-rt/trunk/lib/cfi/CMakeLists.txt Wed Jul 15 07:16:25 2015
@@ -0,0 +1,3 @@
+add_custom_target(cfi)
+add_compiler_rt_resource_file(cfi_blacklist cfi_blacklist.txt)
+add_dependencies(cfi cfi_blacklist)
Added: compiler-rt/trunk/lib/cfi/cfi_blacklist.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/cfi/cfi_blacklist.txt?rev=242287&view=auto
==============================================================================
--- compiler-rt/trunk/lib/cfi/cfi_blacklist.txt (added)
+++ compiler-rt/trunk/lib/cfi/cfi_blacklist.txt Wed Jul 15 07:16:25 2015
@@ -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
More information about the llvm-commits
mailing list