This is an archive of the discontinued LLVM Phabricator instance.

[cfi] Test case for weak symbol handling
Needs ReviewPublic

Authored by eugenis on Oct 20 2016, 5:31 PM.

Details

Reviewers
pcc
Summary

CFI runtime test for D25854

This code used to crash because CFI emits a jump table entry for "does_not_exist" which itself is not weak (it can't be), but it jumps to nullptr.

Diff Detail

Repository
rL LLVM

Event Timeline

eugenis updated this revision to Diff 75378.Oct 20 2016, 5:31 PM
eugenis retitled this revision from to [cfi] Test case for weak symbol handling.
eugenis updated this object.
eugenis added a reviewer: pcc.
eugenis set the repository for this revision to rL LLVM.
eugenis added a subscriber: llvm-commits.