summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp
diff options
context:
space:
mode:
authorAlex Langford <apl@fb.com>2019-03-07 22:37:23 +0000
committerAlex Langford <apl@fb.com>2019-03-07 22:37:23 +0000
commitd672e533d5cbd37c7a5f623565ece47167dec411 (patch)
treeb6fdf8f3b89e90d3076e7b2463f94fd8b43706a6 /lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp
parent46fac9c4f270eac7072f88477385e973983b88f5 (diff)
downloadbcm5719-llvm-d672e533d5cbd37c7a5f623565ece47167dec411.tar.gz
bcm5719-llvm-d672e533d5cbd37c7a5f623565ece47167dec411.zip
Fix TestPaths.py on windows
I committed an implementation of GetClangResourceDir on windows but forgot to update this test. I merged the tests like I intended to, but I realized that the test was actually failing. After looking into it, it appears that FileSystem::Resolve was taking the path and setting the FileSpec's Directory to "/path/to/lldb/lib/clang/" and the File to "9.0.0" which isn't what we want. So I removed the resolve line from DefaultComputeClangResourceDir. llvm-svn: 355648
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp')
-rw-r--r--lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp b/lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp
index ce0b630225f..392baecb305 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp
+++ b/lldb/source/Plugins/ExpressionParser/Clang/ClangHost.cpp
@@ -54,7 +54,6 @@ static bool DefaultComputeClangResourceDirectory(FileSpec &lldb_shlib_spec,
llvm::sys::path::append(clang_dir, relative_path);
if (!verify || VerifyClangPath(clang_dir)) {
file_spec.GetDirectory().SetString(clang_dir);
- FileSystem::Instance().Resolve(file_spec);
return true;
}
OpenPOWER on IntegriCloud