diff options
author | Teresa Johnson <tejohnson@google.com> | 2019-12-04 17:15:10 -0800 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2020-01-13 13:38:26 -0800 |
commit | 31441a3e007833a180b0112550eddb78547771f2 (patch) | |
tree | dc691b2b8279d6dacd6891d3668a892ee5d565dd /lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py | |
parent | 810b28edb3f64569054d49d6ddf18a4d802d9b11 (diff) | |
download | bcm5719-llvm-31441a3e007833a180b0112550eddb78547771f2.tar.gz bcm5719-llvm-31441a3e007833a180b0112550eddb78547771f2.zip |
[ThinLTO/WPD] Fix index-based WPD for alias vtables
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py')
0 files changed, 0 insertions, 0 deletions