diff options
author | Rui Ueyama <ruiu@google.com> | 2014-09-18 22:05:37 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2014-09-18 22:05:37 +0000 |
commit | 1f684518c82c5371463a915e04169927d7135384 (patch) | |
tree | ffd085d0e7c6f0b9b1b4c13ff5c48e5db106f061 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | e867e422e218d393de701ecf1be7e5ac8efc3e2c (diff) | |
download | llvm-1f684518c82c5371463a915e04169927d7135384.zip llvm-1f684518c82c5371463a915e04169927d7135384.tar.gz llvm-1f684518c82c5371463a915e04169927d7135384.tar.bz2 |
Fix buggy Twine storage in ELFLinkingContext::searchLibrary()
This patch fixes a forbidden use of Twine. It should only be used
as an intermediary value, but never stored.
This caused a bug in lld when running on Linux and compiled with
optimizations - it couldn't properly search libs.
Patch from Rafael Auler!
llvm-svn: 218083
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions