summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2016-03-22 22:42:42 +0000
committerSean Callanan <scallanan@apple.com>2016-03-22 22:42:42 +0000
commitcd46960e6b93f07995e378534690c8ce3245fd53 (patch)
tree6afcd3a9af22124fda37eea710821557cc3f9c2a
parentbffdcde03de4d576a160547a4dd35a835b5a3008 (diff)
downloadbcm5719-llvm-cd46960e6b93f07995e378534690c8ce3245fd53.tar.gz
bcm5719-llvm-cd46960e6b93f07995e378534690c8ce3245fd53.zip
Reverted a change in r264074 that made lldb-mi use lldb_private APIs.
FileSystem::Fopen is a lldb_private API, but lldb-mi uses only the public API. Depending on lldb_private APIs makes Xcode builds fail. I reverted the portion of r264074 that added such a dependency. llvm-svn: 264113
-rw-r--r--lldb/tools/lldb-mi/MIUtilFileStd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/tools/lldb-mi/MIUtilFileStd.cpp b/lldb/tools/lldb-mi/MIUtilFileStd.cpp
index 69730204a00..ed80466b2df 100644
--- a/lldb/tools/lldb-mi/MIUtilFileStd.cpp
+++ b/lldb/tools/lldb-mi/MIUtilFileStd.cpp
@@ -231,7 +231,8 @@ CMIUtilFileStd::IsFileExist(const CMIUtilString &vFileNamePath) const
if (vFileNamePath.empty())
return false;
- FILE *pTmp = lldb_private::FileSystem::Fopen(vFileNamePath.c_str(), "wb");
+ FILE *pTmp = nullptr;
+ pTmp = ::fopen(vFileNamePath.c_str(), "wb");
if (pTmp != nullptr)
{
::fclose(pTmp);
OpenPOWER on IntegriCloud