aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lli/RecordingMemoryManager.cpp
diff options
context:
space:
mode:
authorMeador Inge <meadori@codesourcery.com>2013-02-05 15:41:27 +0000
committerMeador Inge <meadori@codesourcery.com>2013-02-05 15:41:27 +0000
commit2ebc580638548744dfbd7637d56156e2dcf7ea2c (patch)
tree10df6a1f1983b17f531d89e251575d6c7b38abec /tools/lli/RecordingMemoryManager.cpp
parentf5b39cd8dec1e64ce060bf5bcafc13aaf72d9d70 (diff)
downloadexternal_llvm-2ebc580638548744dfbd7637d56156e2dcf7ea2c.zip
external_llvm-2ebc580638548744dfbd7637d56156e2dcf7ea2c.tar.gz
external_llvm-2ebc580638548744dfbd7637d56156e2dcf7ea2c.tar.bz2
Support: ensure proper state in ErrorOr copy ctors before calling 'get'
Some paths through the copy constructors for 'ErrorOr' were calling 'get' when 'HasError' and 'IsValid' were not properly initialized. Depending on what happened to be in memory for those member variables the asserts in 'get' might incorrectly fire. Fixed by ensuring that the member variables in question are always initialized before calling 'get'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174381 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lli/RecordingMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions