commit | 964a48a5b6b8f8b3ca36dc4f769ba64d0a56aa57 | [log] [tgz] |
---|---|---|
author | Davide Italiano <davide@freebsd.org> | Tue Nov 07 00:09:25 2017 +0000 |
committer | Davide Italiano <davide@freebsd.org> | Tue Nov 07 00:09:25 2017 +0000 |
tree | f96450ec91bb6bc3409d2956272274d7506f7b44 | |
parent | db6cc311a07af889030d847ff2b4f1dc00db4ec6 [diff] |
[IPO/LowerTypesTest] Skip blockaddress(es) when replacing uses. Blockaddresses refer to the function itself, therefore replacing them would cause an assertion in doRAUW. Fixes https://bugs.llvm.org/show_bug.cgi?id=35201 This was found when trying CFI on a proprietary kernel by Dmitry Mikulin. Differential Revision: https://reviews.llvm.org/D39695 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317527 91177308-0d34-0410-b5e6-96231b3b80d8