diff options
Diffstat (limited to 'lldb/source/Utility/Reproducer.cpp')
-rw-r--r-- | lldb/source/Utility/Reproducer.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/source/Utility/Reproducer.cpp b/lldb/source/Utility/Reproducer.cpp index f5ca39cddc7..6e893c1c95d 100644 --- a/lldb/source/Utility/Reproducer.cpp +++ b/lldb/source/Utility/Reproducer.cpp @@ -231,7 +231,7 @@ DataRecorder::Create(const FileSpec &filename) { DataRecorder *CommandProvider::GetNewDataRecorder() { std::size_t i = m_data_recorders.size() + 1; - std::string filename = (llvm::Twine(info::name) + llvm::Twine("-") + + std::string filename = (llvm::Twine(Info::name) + llvm::Twine("-") + llvm::Twine(i) + llvm::Twine(".txt")) .str(); auto recorder_or_error = @@ -252,7 +252,7 @@ void CommandProvider::Keep() { files.push_back(recorder->GetFilename().GetPath()); } - FileSpec file = GetRoot().CopyByAppendingPathComponent(info::file); + FileSpec file = GetRoot().CopyByAppendingPathComponent(Info::file); std::error_code ec; llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::F_Text); if (ec) @@ -267,7 +267,7 @@ void ProviderBase::anchor() {} char ProviderBase::ID = 0; char FileProvider::ID = 0; char CommandProvider::ID = 0; -const char *FileInfo::name = "files"; -const char *FileInfo::file = "files.yaml"; -const char *CommandInfo::name = "command-interpreter"; -const char *CommandInfo::file = "command-interpreter.yaml"; +const char *FileProvider::Info::name = "files"; +const char *FileProvider::Info::file = "files.yaml"; +const char *CommandProvider::Info::name = "command-interpreter"; +const char *CommandProvider::Info::file = "command-interpreter.yaml"; |