diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2018-10-11 09:09:50 +0000 |
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2018-10-11 09:09:50 +0000 |
| commit | dd403575a2e2068fd278a6165bc199b037759e6b (patch) | |
| tree | 625235fe427cd64b52332081bc1f718ea9e2b005 /compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-truncation-summary.cpp | |
| parent | 589fff9c71b37ddcf17942b07f61bfc95ae07dd5 (diff) | |
| download | bcm5719-llvm-dd403575a2e2068fd278a6165bc199b037759e6b.tar.gz bcm5719-llvm-dd403575a2e2068fd278a6165bc199b037759e6b.zip | |
[clang][ubsan] Split Implicit Integer Truncation Sanitizer into unsigned and signed checks
Summary:
As per IRC disscussion, it seems we really want to have more fine-grained `-fsanitize=implicit-integer-truncation`:
* A check when both of the types are unsigned.
* Another check for the other cases (either one of the types is signed, or both of the types is signed).
This is clang part.
Compiler-rt part is D50902.
Reviewers: rsmith, vsk, Sanitizers
Reviewed by: rsmith
Differential Revision: https://reviews.llvm.org/D50901
llvm-svn: 344230
Diffstat (limited to 'compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-truncation-summary.cpp')
0 files changed, 0 insertions, 0 deletions

