summaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2015-02-18 21:03:07 +0000
committerHans Wennborg <hans@hanshq.net>2015-02-18 21:03:07 +0000
commitdd419802eaa6660b1f03ca0dbf6dc2f139d92e4a (patch)
tree333b1051c0263a1c8eb02bb89aa0f3a35c02bd91 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parent82b7742e66cd25d70d019465d2fb8e08c6cd5df3 (diff)
Merging r229719:
------------------------------------------------------------------------ r229719 | d0k | 2015-02-18 10:45:54 -0800 (Wed, 18 Feb 2015) | 8 lines 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: 229746
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions