summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-truncation-summary.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2018-10-11 09:09:50 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2018-10-11 09:09:50 +0000
commitdd403575a2e2068fd278a6165bc199b037759e6b (patch)
tree625235fe427cd64b52332081bc1f718ea9e2b005 /compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-truncation-summary.cpp
parent589fff9c71b37ddcf17942b07f61bfc95ae07dd5 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud