diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-06-13 05:14:25 +0000 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-06-13 05:14:25 +0000 |
| commit | 2bf25681509add1d9987ca7dada2fffeb95da4c1 (patch) | |
| tree | 7cf51c5101a3671187fc52104641d0d7af79dd43 /lldb/source | |
| parent | 636220e83c2ab9747a381148a842321099d273a8 (diff) | |
| download | bcm5719-llvm-2bf25681509add1d9987ca7dada2fffeb95da4c1.tar.gz bcm5719-llvm-2bf25681509add1d9987ca7dada2fffeb95da4c1.zip | |
[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
Diffstat (limited to 'lldb/source')
| -rw-r--r-- | lldb/source/Utility/Reproducer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Utility/Reproducer.cpp b/lldb/source/Utility/Reproducer.cpp index 9973723de16..479ed311d1d 100644 --- a/lldb/source/Utility/Reproducer.cpp +++ b/lldb/source/Utility/Reproducer.cpp @@ -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() {} |

