diff options
author | Artem Belevich <tra@google.com> | 2018-01-30 19:29:21 +0000 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2018-01-30 19:29:21 +0000 |
commit | 7d8f6fa86c1d10a8f01b2bec00c250b8acea1862 (patch) | |
tree | 1727476842216d2bbccb103d68e452bcfa831254 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | ffb37a29d1a933a3755265d6a4c8af96f55b1440 (diff) | |
download | bcm5719-llvm-7d8f6fa86c1d10a8f01b2bec00c250b8acea1862.tar.gz bcm5719-llvm-7d8f6fa86c1d10a8f01b2bec00c250b8acea1862.zip |
[TableGen] Make sure !if is evaluated throughout class inheritance.
Without the patch !if() is only evaluated if it's used directly.
If it's passed through more than one level of class inheritance,
we end up with a reference to an anonymous record with unresolved
references to the original arguments !if may have used.
The root cause of the problem is that TernOpInit::isComplete()
was always returning false and that prevented use of the folded
value of !if() as an initializer for the record at the next level
of inheritance.
Differential Revision: https://reviews.llvm.org/D42695
llvm-svn: 323807
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions