summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DataLayout.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-09-18 22:05:37 +0000
committerRui Ueyama <ruiu@google.com>2014-09-18 22:05:37 +0000
commit1f684518c82c5371463a915e04169927d7135384 (patch)
treeffd085d0e7c6f0b9b1b4c13ff5c48e5db106f061 /llvm/lib/IR/DataLayout.cpp
parente867e422e218d393de701ecf1be7e5ac8efc3e2c (diff)
downloadbcm5719-llvm-1f684518c82c5371463a915e04169927d7135384.tar.gz
bcm5719-llvm-1f684518c82c5371463a915e04169927d7135384.zip
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 'llvm/lib/IR/DataLayout.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud