Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ThinLTO/WPD] Fix index-based WPD for alias vtables | Teresa Johnson | 2020-01-13 | 1 | -0/+15 |
Summary: A recent fix in D69452 fixed index based WPD in the presence of available_externally vtables. It added a cast of the vtable def summary to a GlobalVarSummary. However, in some cases one def may be an alias, in which case we need to get the base object before casting, otherwise we will crash. Reviewers: evgeny777, steven_wu, aganea Subscribers: mehdi_amini, inglorion, hiraditya, dexonsmith, arphaman, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D71040 |