diff options
author | Timm Bäder <tbaeder@redhat.com> | 2023-04-21 16:46:09 +0200 |
---|---|---|
committer | Timm Bäder <tbaeder@redhat.com> | 2023-07-26 07:45:02 +0200 |
commit | aed9646d8e29c1c5c86be65a2fd97029edf628d9 (patch) | |
tree | f6ee03b71b86cb9abdf351a6df3d4bf8a5f88ceb /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | e45d1997686c6cb0f98c0dc00191d35b3d3e5f95 (diff) | |
download | llvm-aed9646d8e29c1c5c86be65a2fd97029edf628d9.zip llvm-aed9646d8e29c1c5c86be65a2fd97029edf628d9.tar.gz llvm-aed9646d8e29c1c5c86be65a2fd97029edf628d9.tar.bz2 |
[clang][Interp] Fix discarding void-typed comma expressions
First, we need to handle void types in visitExpr, so we don't run into
an assertion there when we try to pop a return value from the stack
that isn't there.
Secondly, we need to handle it when visiting comma expressions so we
don't do the same thing there.
Differential Revision: https://reviews.llvm.org/D148925
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions