Add a runtime diagnostics library for Clang's -fcatch-undefined-behavior.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 9 Oct 2012 19:34:32 +0000 (19:34 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 9 Oct 2012 19:34:32 +0000 (19:34 +0000)
commit68b3014cd3a1018a95ea5dec579fb7db067f35ba
tree2af2f2975db7a7b8c8f2ff132436af6025623351
parenta88397d9bacf0fc59ad4c5cfd244648528aeb195
Add a runtime diagnostics library for Clang's -fcatch-undefined-behavior.

llvm-svn: 165533
23 files changed:
compiler-rt/lib/CMakeLists.txt
compiler-rt/lib/ubsan/CMakeLists.txt [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/CMakeLists.txt [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/Integer/add-overflow.cpp [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/Integer/div-overflow.cpp [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/Integer/div-zero.cpp [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/Integer/incdec-overflow.cpp [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/Integer/mul-overflow.cpp [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/Integer/negate-overflow.cpp [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/Integer/shift.cpp [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/Integer/sub-overflow.cpp [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/Misc/missing_return.cpp [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/Misc/unreachable.cpp [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/TypeCheck/misaligned.cpp [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/TypeCheck/null.cpp [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/lit.cfg [new file with mode: 0644]
compiler-rt/lib/ubsan/lit_tests/lit.site.cfg.in [new file with mode: 0644]
compiler-rt/lib/ubsan/ubsan_diag.cc [new file with mode: 0644]
compiler-rt/lib/ubsan/ubsan_diag.h [new file with mode: 0644]
compiler-rt/lib/ubsan/ubsan_handlers.cc [new file with mode: 0644]
compiler-rt/lib/ubsan/ubsan_handlers.h [new file with mode: 0644]
compiler-rt/lib/ubsan/ubsan_value.cc [new file with mode: 0644]
compiler-rt/lib/ubsan/ubsan_value.h [new file with mode: 0644]