Implement function type checker for the undefined behavior sanitizer.
This uses function prefix data to store function type information at the function pointer. Differential Revision: http://llvm-reviews.chandlerc.com/D1338 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193058 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- docs/UsersManual.rst 2 additions, 0 deletionsdocs/UsersManual.rst
- include/clang/Basic/Sanitizers.def 4 additions, 3 deletionsinclude/clang/Basic/Sanitizers.def
- lib/CodeGen/CGBuiltin.cpp 1 addition, 1 deletionlib/CodeGen/CGBuiltin.cpp
- lib/CodeGen/CGCUDARuntime.cpp 2 additions, 2 deletionslib/CodeGen/CGCUDARuntime.cpp
- lib/CodeGen/CGExpr.cpp 48 additions, 2 deletionslib/CodeGen/CGExpr.cpp
- lib/CodeGen/CGExprCXX.cpp 2 additions, 1 deletionlib/CodeGen/CGExprCXX.cpp
- lib/CodeGen/CodeGenFunction.cpp 17 additions, 0 deletionslib/CodeGen/CodeGenFunction.cpp
- lib/CodeGen/CodeGenFunction.h 1 addition, 0 deletionslib/CodeGen/CodeGenFunction.h
- lib/CodeGen/TargetInfo.cpp 16 additions, 0 deletionslib/CodeGen/TargetInfo.cpp
- lib/CodeGen/TargetInfo.h 8 additions, 0 deletionslib/CodeGen/TargetInfo.h
- test/CodeGenCXX/catch-undef-behavior.cpp 19 additions, 1 deletiontest/CodeGenCXX/catch-undef-behavior.cpp
- test/Driver/fsanitize.c 2 additions, 2 deletionstest/Driver/fsanitize.c
Loading
Please register or sign in to comment