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.
Differential D5403
[lld] Fix buggy Twine storage in ELFLinkingContext::searchLibrary() rafaelauler on Sep 18 2014, 2:36 PM. Authored by
Details
Diff Detail Event TimelineComment Actions Already ran clang-format. Could you please submit this patch? I do not have commit access. |