diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Support/Debug.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/Support/Debug.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/llvm/lib/Support/Debug.cpp b/contrib/llvm-project/llvm/lib/Support/Debug.cpp index 737cd576ed80..73b25d55237b 100644 --- a/contrib/llvm-project/llvm/lib/Support/Debug.cpp +++ b/contrib/llvm-project/llvm/lib/Support/Debug.cpp @@ -105,7 +105,7 @@ struct DebugOnlyOpt {      SmallVector<StringRef,8> dbgTypes;      StringRef(Val).split(dbgTypes, ',', -1, false);      for (auto dbgType : dbgTypes) -      CurrentDebugType->push_back(dbgType); +      CurrentDebugType->push_back(std::string(dbgType));    }  };  | 
