Skip to content
Commit 1f684518 authored by Rui Ueyama's avatar Rui Ueyama
Browse files

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
parent e867e422
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment