aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-06-16 11:13:28 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2017-06-16 11:13:28 +0200
commitb783399af92647bd0765b9d51afab04dea31344b (patch)
treeba56515e1806cecd997677de49a2ab9d1d38b78a /gcc/tree-ssa-loop.c
parent6ec3c9c841aea8b492aa2fc0db5d3c734b643725 (diff)
downloadgcc-b783399af92647bd0765b9d51afab04dea31344b.zip
gcc-b783399af92647bd0765b9d51afab04dea31344b.tar.gz
gcc-b783399af92647bd0765b9d51afab04dea31344b.tar.bz2
re PR sanitizer/81094 (-fsanitize=object-size does not instrument aggregate call arguments)
PR sanitizer/81094 * ubsan.c (instrument_null): Add T argument, use it instead of computing it based on IS_LHS. (instrument_object_size): Likewise. (pass_ubsan::execute): Adjust instrument_null and instrument_object_size callers to pass gimple_get_lhs or gimple_assign_rhs1 result to it. Use instrument_null instead of calling get_base_address and instrument_mem_ref. Handle aggregate call arguments for object-size sanitization. * c-c++-common/ubsan/object-size-11.c: New test. From-SVN: r249239
Diffstat (limited to 'gcc/tree-ssa-loop.c')
0 files changed, 0 insertions, 0 deletions