llvm-project/lldb
Pavel Labath 1d5855b107 Replace getcwd with the llvm equivalent
Summary:
getcwd() is not available (well.. um.. deprecated?) on windows, and the way
PosixApi.h is providing it causes strange compile errors when it's included in
the wrong order. The best way to avoid that is to just not use chdir.

This replaces all uses of getcwd in generic code. There are still a couple of
more uses, but these are in platform-specific code.

chdir() is causing a similar problem, but for that there is no llvm equivalent
for that (yet).

Reviewers: zturner

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D28858

llvm-svn: 292795
2017-01-23 15:56:45 +00:00
..
cmake [cmake] Make lldb build with the android ndk toolchain file 2017-01-17 11:55:00 +00:00
docs Small tweaks to the markup in StructuredDataPlugins. 2016-12-13 05:59:24 +00:00
examples Improve crashlog.py so it can handle more iOS crashlog files. 2016-12-08 00:22:45 +00:00
include/lldb Replace getcwd with the llvm equivalent 2017-01-23 15:56:45 +00:00
lit [CMake] Fix standalone build 2016-10-21 18:38:44 +00:00
lldb.xcodeproj Remove SymbolFilePDBTests.cpp from the list of tests to include in the 2017-01-04 00:01:25 +00:00
lldb.xcworkspace Revert r275223, which committed the wrong thing. 2016-07-12 23:31:42 +00:00
packages/Python/lldbsuite Prevent client from querying each thread's PC at each stop. 2017-01-20 14:17:16 +00:00
resources Bump the lldb version # in the xcode project files from 2016-03-15 04:36:11 +00:00
scripts Install lldb Python module on Windows. 2017-01-06 22:05:35 +00:00
source Replace getcwd with the llvm equivalent 2017-01-23 15:56:45 +00:00
test [CMake] Only support LLDB_BUILD_FRAMEWORK on CMake 3.7 and later 2016-12-15 18:18:47 +00:00
third_party/Python/module *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
tools Add a more succinct logging syntax 2017-01-18 11:00:26 +00:00
unittests Fix new Log unit test 2017-01-18 17:31:55 +00:00
utils *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
www Fix weak symbol linkage in SBStructuredData, update docs. 2016-11-09 23:21:04 +00:00
.arcconfig Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
.clang-format Updated .clang-format rules so bring LLDB in line with LLVM standards. 2016-09-06 17:19:00 +00:00
.gitignore test infra: clear file-charged issues on rerun of file 2016-10-01 00:17:08 +00:00
CMakeLists.txt [cmake] Make lldb build with the android ndk toolchain file 2017-01-17 11:55:00 +00:00
CODE_OWNERS.txt Removing myself from code ownership file 2016-12-12 22:42:00 +00:00
INSTALL.txt Revert the patch to Test Commit Access 2015-07-06 11:26:51 +00:00
LICENSE.TXT
use_lldb_suite_root.py *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00