summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-06-29 16:15:42 +0000
committerPavel Labath <labath@google.com>2017-06-29 16:15:42 +0000
commitef9fc29d4effcd7186a0a4a0f7e02e25bbcbd7fc (patch)
tree4d053d969bcaaea9e4ec69ce99fc65c46cff13a9
parent809328c1143e8d3427c7f0dc3b381be2702d6cc0 (diff)
downloadbcm5719-llvm-ef9fc29d4effcd7186a0a4a0f7e02e25bbcbd7fc.tar.gz
bcm5719-llvm-ef9fc29d4effcd7186a0a4a0f7e02e25bbcbd7fc.zip
Speculative fix for windows build broken by r306668
llvm-svn: 306693
-rw-r--r--lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
index 249e1bbf739..0e63a410423 100644
--- a/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
+++ b/lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
@@ -55,12 +55,8 @@ public:
ClangASTContext::Initialize();
SymbolFilePDB::Initialize();
- llvm::StringRef exe_folder = llvm::sys::path::parent_path(TestMainArgv0);
- llvm::SmallString<128> inputs_folder = exe_folder;
- llvm::sys::path::append(inputs_folder, "Inputs");
-
- m_pdb_test_exe = GetInputFile("test-pdb.exe");
- m_types_test_exe = GetInputFile("test-pdb-types.exe");
+ m_pdb_test_exe = GetInputFilePath("test-pdb.exe");
+ m_types_test_exe = GetInputFilePath("test-pdb-types.exe");
}
void TearDown() override {
OpenPOWER on IntegriCloud