[PATCH] D11857: CFI: Introduce -fsanitize=cfi-icall flag.

Peter Collingbourne via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 11 15:00:08 PDT 2015


pcc updated this revision to Diff 31871.
pcc added a comment.

- Create distinct MDNodes for types with internal linkage; replace custom bit set mangling with mangleTypeName throughout
- Add documentation explaining the difference between this and -fsanitize=function


http://reviews.llvm.org/D11857

Files:
  docs/ControlFlowIntegrity.rst
  include/clang/AST/Mangle.h
  include/clang/Basic/Sanitizers.def
  lib/AST/ItaniumMangle.cpp
  lib/AST/MicrosoftMangle.cpp
  lib/CodeGen/CGClass.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGVTables.cpp
  lib/CodeGen/CodeGenModule.cpp
  lib/CodeGen/CodeGenModule.h
  lib/Driver/ToolChain.cpp
  lib/Driver/ToolChains.cpp
  test/CodeGen/cfi-icall.c
  test/CodeGenCXX/cfi-cast.cpp
  test/CodeGenCXX/cfi-icall.cpp
  test/CodeGenCXX/cfi-ms-rtti.cpp
  test/CodeGenCXX/cfi-nvcall.cpp
  test/CodeGenCXX/cfi-vcall.cpp
  test/Driver/fsanitize.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11857.31871.patch
Type: text/x-patch
Size: 30469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150811/664d5def/attachment-0001.bin>


More information about the cfe-commits mailing list