Skip to content

Commit

Permalink
CFI: Add a default blacklist.
Browse files Browse the repository at this point in the history
Differential Revision: http://reviews.llvm.org/D11095

llvm-svn: 242287
  • Loading branch information
pcc committed Jul 15, 2015
1 parent 6fccf95 commit 1d14b07
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions compiler-rt/lib/CMakeLists.txt
Expand Up @@ -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()
Expand Down
3 changes: 3 additions & 0 deletions compiler-rt/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)
8 changes: 8 additions & 0 deletions compiler-rt/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

0 comments on commit 1d14b07

Please sign in to comment.