summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2017-02-23 05:59:56 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2017-02-23 05:59:56 +0000
commit0d6592a899954772f45a951cb3a48df0268d736d (patch)
treec4d54f1ae8892fca3c1284d405d5ab48fffc547c /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parent0af90586e767ea6699c30d9e4a89caf85496cfa5 (diff)
downloadbcm5719-llvm-0d6592a899954772f45a951cb3a48df0268d736d.tar.gz
bcm5719-llvm-0d6592a899954772f45a951cb3a48df0268d736d.zip
[CodeGen] Don't reemit expressions for pass_object_size params.
This fixes an assertion failure in cases where we had expression statements that declared variables nested inside of pass_object_size args. Since we were emitting the same ExprStmt twice (once for the arg, once for the @llvm.objectsize call), we were getting issues with redefining locals. This also means that we can be more lax about when we emit @llvm.objectsize for pass_object_size args: since we're reusing the arg's value itself, we don't have to care so much about side-effects. llvm-svn: 295935
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud