summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/ConstantMerge.cpp
diff options
context:
space:
mode:
authorIvan Krasin <krasin@chromium.org>2016-11-21 21:23:56 +0000
committerIvan Krasin <krasin@chromium.org>2016-11-21 21:23:56 +0000
commit694c28495abbdc8bace4c331357b3b7971da084d (patch)
tree2d66e34d4975677125992183ee7eab28cd7dd2b8 /llvm/lib/Transforms/IPO/ConstantMerge.cpp
parent7a7477c71f7fe6e7f4ed780df490b000d861c489 (diff)
downloadbcm5719-llvm-694c28495abbdc8bace4c331357b3b7971da084d.tar.gz
bcm5719-llvm-694c28495abbdc8bace4c331357b3b7971da084d.zip
Add a test for vcall on a null ptr.
Summary: Turns out that in the case of -fsanitize=null and a virtual call, the type check was generated *after* reading from vtable, which causes a non-interpretable segfault. The check has been moved up in https://reviews.llvm.org/D26559 and this CL adds a test for this case. Reviewers: pcc Subscribers: cfe-commits, kubabrecka Differential Revision: https://reviews.llvm.org/D26560 llvm-svn: 287578
Diffstat (limited to 'llvm/lib/Transforms/IPO/ConstantMerge.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud