forked from OSchip/llvm-project
[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:
parent
636220e83c
commit
2bf2568150
|
@ -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() {}
|
||||
|
|
Loading…
Reference in New Issue