aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/IRObjectFile.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/Object/IRObjectFile.cpp
parent7a7477c71f7fe6e7f4ed780df490b000d861c489 (diff)
downloadllvm-694c28495abbdc8bace4c331357b3b7971da084d.zip
llvm-694c28495abbdc8bace4c331357b3b7971da084d.tar.gz
llvm-694c28495abbdc8bace4c331357b3b7971da084d.tar.bz2
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/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions