[Lldb-commits] [lldb] r214161 - Fix compile error on Windows.
Zachary Turner
zturner at google.com
Mon Jul 28 22:39:21 PDT 2014
Author: zturner
Date: Tue Jul 29 00:39:21 2014
New Revision: 214161
URL: http://llvm.org/viewvc/llvm-project?rev=214161&view=rev
Log:
Fix compile error on Windows.
A piece of a future patch accidentally made it in, this simply
fixes the error.
Modified:
lldb/trunk/source/Host/common/Host.cpp
Modified: lldb/trunk/source/Host/common/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Host.cpp?rev=214161&r1=214160&r2=214161&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Tue Jul 29 00:39:21 2014
@@ -884,7 +884,7 @@ Host::GetProgramFileSpec ()
#elif defined(_WIN32)
std::vector<char> buffer(PATH_MAX);
::GetModuleFileName(NULL, &buffer[0], buffer.size());
- g_program_filespec.SetFile(&buffer[0], false, FileSpec::ePathSyntaxWindows);
+ g_program_filespec.SetFile(&buffer[0], false);
#endif
}
return g_program_filespec;
More information about the lldb-commits
mailing list