Skip to content
Commit 2c9b7bd3 authored by George Rimar's avatar George Rimar
Browse files

Replace StringRef with std::string in LinkerDriver::addLibrary(StringRef Name)...

Replace StringRef with std::string in LinkerDriver::addLibrary(StringRef Name) because std::string is destroyed after assigning what fills the buffer with garbage and StringRef is no more valid.
That fixes few failing tests under windows+msvs2015(debug).

llvm-svn: 259186
parent 24785bd0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment