[Reproducers] Remove call to lldb_private::GetVersion()

Utility doesn't link against lldbBase so we cannot call GetVersion in
keep. I already added a string member m_version to deal with that, but
the call was still there.

llvm-svn: 363228
This commit is contained in:
Jonas Devlieghere 2019-06-13 05:14:25 +00:00
parent 636220e83c
commit 2bf2568150
1 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,6 @@
#include "lldb/Utility/Reproducer.h"
#include "lldb/Utility/LLDBAssert.h"
#include "lldb/lldb-private.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Threading.h"
@ -270,7 +269,7 @@ void VersionProvider::Keep() {
llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::F_Text);
if (ec)
return;
os << lldb_private::GetVersion() << "\n";
os << m_version << "\n";
}
void ProviderBase::anchor() {}