aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-12-29 21:28:15 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-12-29 21:28:15 +0000
commit6465d4f7a36077df16188d3d9d512f951333851a (patch)
tree33755550c7ad0f96612c0f29ab5a1f8b2d003031 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent488b6f7bbc1dcbd739c4bd5afbb2f1adc3e2fa1c (diff)
downloadllvm-6465d4f7a36077df16188d3d9d512f951333851a.zip
llvm-6465d4f7a36077df16188d3d9d512f951333851a.tar.gz
llvm-6465d4f7a36077df16188d3d9d512f951333851a.tar.bz2
Fix use-after-destruction introduced in r224924.
getMainExecutable() returns a std::string, assigning its result to StringRef immediately creates a dangling pointer. This was detected by half-broken fast-MSan-bootstrap bot. llvm-svn: 224956
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions