HomePhabricator

Replace StringRef with std::string in LinkerDriver::addLibrary(StringRef…
Audit RequiredrL259186

Description

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).

Details

Auditors
Bigcheese
Committed
grimarJan 29 2016, 2:52 AM
Parents
rL259185: Ignore breakpoints by default in SBFrame::EvaluateExpression
Branches
Unknown
Tags
Unknown