aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/X86/X86TargetObjectFile.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-06-26 08:12:11 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-06-26 08:12:11 +0000
commit26d4cc1b9679168a24275a983bca4a2660c825b6 (patch)
treec95c5192db87ac1b2278cb0b14cca2c22fdcb083 /llvm/lib/Target/X86/X86TargetObjectFile.cpp
parent26088d2e24ca844e56c726caac33ce60b0e3ba57 (diff)
downloadllvm-26d4cc1b9679168a24275a983bca4a2660c825b6.zip
llvm-26d4cc1b9679168a24275a983bca4a2660c825b6.tar.gz
llvm-26d4cc1b9679168a24275a983bca4a2660c825b6.tar.bz2
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 'llvm/lib/Target/X86/X86TargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions