diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2022-05-13 14:24:27 -0700 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2022-06-17 17:28:00 -0700 |
commit | 8fc3d719eee7ab41641506cbdc59f3ade0eb36e4 (patch) | |
tree | 6abc9f0963efeb142252fd6acdc7697c658c267b /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
parent | 121c6454141d943ce2c886a2faea6781945c8a25 (diff) | |
download | llvm-8fc3d719eee7ab41641506cbdc59f3ade0eb36e4.zip llvm-8fc3d719eee7ab41641506cbdc59f3ade0eb36e4.tar.gz llvm-8fc3d719eee7ab41641506cbdc59f3ade0eb36e4.tar.bz2 |
Stop wrapping GCCAsmStmts inside StmtExprs to destruct temporaries
Instead, just pop the cleanups at the end of the asm statement.
This fixes an assertion failure in BuildStmtExpr. It also fixes a bug
where blocks and C compound literals were destructed at the end of the
asm statement instead of at the end of the enclosing scope.
Differential Revision: https://reviews.llvm.org/D125936
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions