This was flagged by ASAN when using a test case I will be committing
along with D13515.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251827
91177308-0d34-0410-b5e6-
96231b3b80d8
StringRef ModPath;
for (auto &OtherFuncInfoLists : *Other) {
- StringRef FuncName = OtherFuncInfoLists.getKey();
+ std::string FuncName = OtherFuncInfoLists.getKey();
FunctionInfoList &List = OtherFuncInfoLists.second;
// Assert that the func info list only has one entry, since we shouldn't