diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-06-26 08:12:11 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-06-26 08:12:11 +0000 |
commit | 26d4cc1b9679168a24275a983bca4a2660c825b6 (patch) | |
tree | c95c5192db87ac1b2278cb0b14cca2c22fdcb083 /clang/test/CodeGen/conditional-gnu-ext.c | |
parent | 26088d2e24ca844e56c726caac33ce60b0e3ba57 (diff) | |
download | bcm5719-llvm-26d4cc1b9679168a24275a983bca4a2660c825b6.tar.gz bcm5719-llvm-26d4cc1b9679168a24275a983bca4a2660c825b6.zip |
Fix lifetime issue for backing APValue of OpaqueValueExpr in recursive
constexpr function evaluation, and corresponding ASan / valgrind issue in
tests, by storing the corresponding value with the relevant stack frame. This
also prevents re-evaluation of the source of the underlying OpaqueValueExpr,
which makes a major performance difference for certain contrived code (see
testcase update).
llvm-svn: 159189
Diffstat (limited to 'clang/test/CodeGen/conditional-gnu-ext.c')
0 files changed, 0 insertions, 0 deletions