[Lldb-commits] [lldb] 18d4069 - fix lldb test on lib64 systems
Luboš Luňák via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 3 02:19:26 PDT 2020
Author: Luboš Luňák
Date: 2020-08-03T11:19:07+02:00
New Revision: 18d4069503e729442158476960a797df963cf293
URL: https://github.com/llvm/llvm-project/commit/18d4069503e729442158476960a797df963cf293
DIFF: https://github.com/llvm/llvm-project/commit/18d4069503e729442158476960a797df963cf293.diff
LOG: fix lldb test on lib64 systems
Differential revision: https://reviews.llvm.org/D85096
Added:
Modified:
lldb/unittests/Expression/ClangParserTest.cpp
Removed:
################################################################################
diff --git a/lldb/unittests/Expression/ClangParserTest.cpp b/lldb/unittests/Expression/ClangParserTest.cpp
index 81f9ed839fcc..4df557475314 100644
--- a/lldb/unittests/Expression/ClangParserTest.cpp
+++ b/lldb/unittests/Expression/ClangParserTest.cpp
@@ -11,6 +11,7 @@
#include "Plugins/ExpressionParser/Clang/ClangHost.h"
#include "TestingSupport/SubsystemRAII.h"
#include "TestingSupport/TestUtilities.h"
+#include "lldb/Host/Config.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Utility/FileSpec.h"
@@ -36,7 +37,7 @@ static std::string ComputeClangResourceDir(std::string lldb_shlib_path,
TEST_F(ClangHostTest, ComputeClangResourceDirectory) {
#if !defined(_WIN32)
std::string path_to_liblldb = "/foo/bar/lib/";
- std::string path_to_clang_dir = "/foo/bar/lib/clang/" CLANG_VERSION_STRING;
+ std::string path_to_clang_dir = "/foo/bar/lib" LLDB_LIBDIR_SUFFIX "/clang/" CLANG_VERSION_STRING;
#else
std::string path_to_liblldb = "C:\\foo\\bar\\lib";
std::string path_to_clang_dir = "C:\\foo\\bar\\lib\\clang\\" CLANG_VERSION_STRING;
More information about the lldb-commits
mailing list