diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2014-07-17 13:28:50 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2014-07-17 13:28:50 +0000 |
| commit | 9eef7423081e6427086a9243b380a9e254067b05 (patch) | |
| tree | 7b902e29c6ef3b0242d8b2580fd45c70b8a1026c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 92d20f3f90c2750c9ceef182310bc6d53735a55e (diff) | |
Using a std::string instead of a StringRef because the Default case synthesizes a temporary std::string from a Twine. Assigning that into a StringRef causes the StringRef to refer to a temporary, and bad things happen.
This fixes a failing test case on Windows.
llvm-svn: 213265
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
