aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-11-10 22:27:30 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-11-10 22:27:30 +0000
commit4c1a96f5192b0aa5a29ae0e2be88dad166cd8f3a (patch)
tree173c6055b29b5dedd2b5ae9438ecfd810f74924f /clang/lib/Frontend/CompilerInvocation.cpp
parentacb803e8079edc084b2795b136292d1807d7e2a4 (diff)
downloadllvm-4c1a96f5192b0aa5a29ae0e2be88dad166cd8f3a.zip
llvm-4c1a96f5192b0aa5a29ae0e2be88dad166cd8f3a.tar.gz
llvm-4c1a96f5192b0aa5a29ae0e2be88dad166cd8f3a.tar.bz2
Propagate SanitizerKind into CodeGenFunction::EmitCheck() call.
Make sure CodeGenFunction::EmitCheck() knows which sanitizer it emits check for. Make CheckRecoverableKind enum an implementation detail and move it away from header. Currently CheckRecoverableKind is determined by the type of sanitizer ("unreachable" and "return" are unrecoverable, "vptr" is always-recoverable, all the rest are recoverable). This will change in future if we allow to specify which sanitizers are recoverable, and which are not by -fsanitize-recover= flag. No functionality change. llvm-svn: 221635
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions