aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2015-02-18 18:45:54 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2015-02-18 18:45:54 +0000
commit33cd6dcf87295e4165fe9fca56b078eb686d044a (patch)
tree67a724a834b2e9ad002e68df7a4e127525180a38 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parent568b0de17091aea712d411d15ff2ecf8b947b7c5 (diff)
downloadllvm-33cd6dcf87295e4165fe9fca56b078eb686d044a.zip
llvm-33cd6dcf87295e4165fe9fca56b078eb686d044a.tar.gz
llvm-33cd6dcf87295e4165fe9fca56b078eb686d044a.tar.bz2
Driver: Fix use of dangling std::string temporary
What's going on here is that the ternary operator produces a std::string rvalue that the StringRef points to. I'd hoped bugs like this were a thing of the past with our asan testing but apparently this code path is only used when LLVM is configured with a custom --with-c-include-dirs setting. Unbreaks bootstrapping with GCC5 on Fedora (PR22625), patch by Jonathan Wakely! llvm-svn: 229719
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions