HomePhabricator

[GCC] Don't keep a StringRef to a temporary std::string

Authored by mstorsjo on Apr 24 2018, 4:57 AM.

Description

[GCC] Don't keep a StringRef to a temporary std::string

This fixes failures in asan builds and possibly other buildbots
as well, after SVN r330696.

Prior to that revision, the std::string was stored in another
variable, before assigning to a StringRef.

llvm-svn: 330710

Details

Committed
mstorsjoApr 24 2018, 4:57 AM
Parents
rG8ed0f741ae3c: [CodeGen] Print user-friendly debug locations as MI comments
Branches
Unknown
Tags
Unknown