diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-11-10 22:27:30 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-11-10 22:27:30 +0000 |
commit | 4c1a96f5192b0aa5a29ae0e2be88dad166cd8f3a (patch) | |
tree | 173c6055b29b5dedd2b5ae9438ecfd810f74924f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | acb803e8079edc084b2795b136292d1807d7e2a4 (diff) | |
download | llvm-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