a4de17562d13d7a8188108243c4cfbd52f33229a |
|
04-Mar-2016 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master clang for rebase to r256229 http://b/26987366 (cherry picked from commit 87d948ecccffea9e9e37d0d053b246e2d6d6c47b) Change-Id: I10ca401a280e905253aafabad9118693a2f24ffb
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
3ea9e33ea25e0c2b12db56418ba3f994eb662c04 |
|
08-Apr-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master clang for rebase to r233350 Change-Id: I12d4823f10bc9e445b8b86e7721b71f98d1df442
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
0e2c34f92f00628d48968dfea096d36381f494cb |
|
23-Mar-2015 |
Stephen Hines <srhines@google.com> |
Update aosp/master clang for rebase to r230699. Change-Id: I6a546ab3d4ae37119eebb735e102cca4f80ab520
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
176edba5311f6eff0cad2631449885ddf4fbc9ea |
|
01-Dec-2014 |
Stephen Hines <srhines@google.com> |
Update aosp/master Clang for rebase to r222490. Change-Id: Ic557ac55e97fbf6ee08771c7b7c3594777b0aefd
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
c568f1e98938584c0ef0b12ae5018ff7d90a4072 |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update Clang for rebase to r212749. This also fixes a small issue with arm_neon.h not being generated always. Includes a cherry-pick of: r213450 - fixes mac-specific header issue r213126 - removes a default -Bsymbolic on Android Change-Id: I2a790a0f5d3b2aab11de596fc3a74e7cbc99081d
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
69170e6e41e72c84fe5303540c1aa7ca9944ff18 |
|
23-Oct-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Split -fsanitize=bounds to -fsanitize=array-bounds (for the frontend-inserted check using the ubsan runtime) and -fsanitize=local-bounds (for the middle-end check which inserts traps). Remove -fsanitize=local-bounds from -fsanitize=undefined. It does not produce useful diagnostics and has false positives (PR17635), and is not a good compromise position between UBSan's checks and ASan's checks. Map -fbounds-checking to -fsanitize=local-bounds to restore Clang's historical behavior for that flag. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193205 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
b914e87377fd4d7642f544000a79f8648c6f06c9 |
|
20-Oct-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Implement function type checker for the undefined behavior sanitizer. This uses function prefix data to store function type information at the function pointer. Differential Revision: http://llvm-reviews.chandlerc.com/D1338 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
8dd4baacf584b1fc7b0e2c79a0b8b197a4fb5fab |
|
07-Oct-2013 |
Matt Arsenault <Matthew.Arsenault@amd.com> |
Fix objectsize tests after r192117 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192120 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
62a3bbaac79f6e1b242ae3914e3ed4615f09302d |
|
11-Sep-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Disable the bool and enum sanitizers when emitting the implicitly-defined copy constructor, copy assignment operator and move assignment operator. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190481 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
93ab6bf534fb6c26563c00f28a8fc5581bb71dfd |
|
15-Aug-2013 |
Stephen Lin <stephenwlin@gmail.com> |
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188447 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
9793fe99de5ab92162cb70a7d2584c1de0952d73 |
|
08-Aug-2013 |
Filipe Cabecinhas <me@filcab.net> |
catch-undefined-behavior.cpp: Remove names that don't appear in every build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187952 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
ce744175b827f855c381eb0bdcdceceda86c87cd |
|
08-Aug-2013 |
Filipe Cabecinhas <me@filcab.net> |
UBSan: Fix naming for IR variables in catch-undef-behavior.cpp git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187951 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
8593e7821c02bd429964d2daf7a6acccb8040fb2 |
|
08-Aug-2013 |
Filipe Cabecinhas <me@filcab.net> |
UBSan: Fix alignment checks emitted in downcasts. Summary: UBSan was checking for alignment of the derived class on the pointer to the base class, before converting. With some class hierarchies, this could generate false positives. Added test-case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
bb60fc6a71f280f8e19e7f1a784ef05c40f5aa39 |
|
25-Feb-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Emit single check for left shift. Avoids warning twice on same shift. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176056 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
5956bcc31ad0b1f570e04f7e19e817112f7274c5 |
|
24-Feb-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
PR15338: Don't assert if -fsanitize=bounds sees array indexing on an incomplete array type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175982 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
a0a628f839cf50844cc0f226bd9cb72485f98f91 |
|
23-Feb-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Emit bounds checks for array indexing, vector indexing, and (in really simple cases) pointer arithmetic. This augments the existing bounds checking with language-level array bounds information. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175949 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
4e1125f630e75a52209b928e9d43b638abf39987 |
|
22-Feb-2013 |
Bill Wendling <isanbard@gmail.com> |
Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175878 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
c764830bdb6de82baed068889096bd3e52d4cbda |
|
13-Feb-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Add checking for invalid downcasts. Per [expr.static.cast]p2 and p11, base-to-derived casts have undefined behavior if the object is not actually an instance of the derived type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175078 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
2d382d149b442b928fd3fb8edcc8d82ea9325872 |
|
30-Dec-2012 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Recover by default, use -fno-sanitize-recover to disable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171264 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
073fec91b73f08ba86ad46573141be14c7a0d262 |
|
18-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Rein ubsan's vptr sanitizer back a bit. Per core issue 453, binding a reference to an object outside its lifetime does not have undefined behavior. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170387 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
463b48ba7eab6d7c96d23b59caea7f25de548293 |
|
13-Dec-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
ubsan: Add -fsanitize=bool and -fsanitize=enum, which check for loads of bit-patterns which are not valid values for enumerated or boolean types. These checks are the ubsan analogue of !range metadata. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170108 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
ad95481b2769ad61f23afc5e2c31f11c66090657 |
|
02-Dec-2012 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Add flag to enable recovery from checks when possible. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169114 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
b85403658a77e9c19c391c8f02bc7767544a25d9 |
|
27-Nov-2012 |
Will Dietz <wdietz2@illinois.edu> |
Add -fsanitize=integer for reporting suspicious integer behaviors. Introduces new sanitizer "unsigned-integer-overflow". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168701 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
d6396a681c9acbe56bc41bbc2bed2db45755bcd7 |
|
05-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Use the individual -fsanitize=<...> arguments to control which of the UBSan checks to enable. Remove frontend support for -fcatch-undefined-behavior, -faddress-sanitizer and -fthread-sanitizer now that they don't do anything. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
d6f833091fbacc73980b9c4018363455b6aa82a7 |
|
26-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Fix the other occurrence of the problem fixed by r166731. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166735 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
ca53087029204abc02c95fa3cf953ed60b19a3cd |
|
26-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
LLVM's hashing routines produce a size_t, and thus generate different values for 32- and 64-bit host compilers. This really needs to be fixed -- the IR generated should not depend on the host -- but this change will get the bots green again. Proper fix to follow. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166731 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
0848333c398d1ddd9f4e3b60cccef6a1b2698f78 |
|
25-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Add a more direct test for r166661. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166727 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
4def70d3040e73707c738f7c366737a986135edf |
|
09-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
-fcatch-undefined-behavior: emit calls to the runtime library whenever one of the checks fails. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165536 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
36ef0d54cfddf31cd48816e78ab4db73b31a6c1d |
|
05-Oct-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
If we flow off the end of a value-returning function: - outside C++, return undef (behavior is not undefined unless the value is used) - in C++, with -fcatch-undefined-behavior, perform an appropriate trap - in C++, produce an 'unreachable' (behavior is undefined immediately) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165273 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
9d3e226acad5e23e562cde0a69362bb266f2a333 |
|
25-Aug-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
-fcatch-undefined-behavior: add the -ftrapv checks to the set of things caught by this mode, and also check for signed left shift overflow. The rules for the latter are a little subtle: * neither C89 nor C++98 specify the behavior of a signed left shift at all * in C99 and C11, shifting a 1 bit into the sign bit has undefined behavior * in C++11, with core issue 1457, shifting a 1 bit *out* of the sign bit has undefined behavior As of this change, we use the C99 rules for all C language variants, and the C++11 rules for all C++ language variants. Once we have individual -fcatch-undefined-behavior= flags, this should be revisited. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162634 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|
2c9f87ca5cccbfdaad82762368af5b2323320653 |
|
24-Aug-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
New -fcatch-undefined-behavior features: * when checking that a pointer or reference refers to appropriate storage for a type, also check the alignment and perform a null check * check that references are bound to appropriate storage * check that 'this' has appropriate storage in member accesses and member function calls git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162523 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior.cpp
|