[Lldb-commits] [lldb] r306693 - Speculative fix for windows build broken by r306668
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 29 09:15:42 PDT 2017
Author: labath
Date: Thu Jun 29 09:15:42 2017
New Revision: 306693
URL: http://llvm.org/viewvc/llvm-project?rev=306693&view=rev
Log:
Speculative fix for windows build broken by r306668
Modified:
lldb/trunk/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
Modified: lldb/trunk/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp?rev=306693&r1=306692&r2=306693&view=diff
==============================================================================
--- lldb/trunk/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp (original)
+++ lldb/trunk/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp Thu Jun 29 09:15:42 2017
@@ -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 {
More information about the lldb-commits
mailing list