llvm-project/lldb/source/Plugins
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
..
ABI Fix log typo in ABISysV_arm64.cpp 2017-01-13 09:06:58 +00:00
Disassembler Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
DynamicLoader Add a catch-all line for detecting dyld in the inferior process 2017-01-21 01:17:36 +00:00
ExpressionParser Add a more succinct logging syntax 2017-01-18 11:00:26 +00:00
Instruction Convert AutoComplete related code to StringRef. 2016-11-17 01:37:42 +00:00
InstrumentationRuntime Stop limiting the number of TSan backtrace size to 8 2017-01-10 01:14:52 +00:00
JITLoader *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Language Expression evaluation for overloaded C functions (redux) 2016-12-19 17:22:44 +00:00
LanguageRuntime Fix more unused variable warnings when asserts are disabled. 2017-01-20 10:24:03 +00:00
MemoryHistory Use Timeout<> in EvaluateExpressionOptions class 2016-12-06 11:24:51 +00:00
ObjectContainer Replace __ANDROID_NDK__ with __ANDROID__ 2016-12-02 11:15:15 +00:00
ObjectFile Fix more unused variable warnings when asserts are disabled. 2017-01-20 10:24:03 +00:00
OperatingSystem Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Platform Use Timeout<> in EvaluateExpressionOptions class 2016-12-06 11:24:51 +00:00
Process Replace getcwd with the llvm equivalent 2017-01-23 15:56:45 +00:00
ScriptInterpreter Fix clang build for r291198 2017-01-06 10:20:32 +00:00
StructuredData Fix a bug when using a StructuredData darwin-log plugin 2016-12-16 02:48:39 +00:00
SymbolFile Remove a couple of Stream flags 2017-01-13 10:41:59 +00:00
SymbolVendor When deciding whether to use the source remapping dictionary from 2016-11-09 03:42:12 +00:00
SystemRuntime Use Timeout<> in EvaluateExpressionOptions class 2016-12-06 11:24:51 +00:00
UnwindAssembly Make lldb -Werror clean for -Wstring-conversion 2017-01-06 00:38:06 +00:00
CMakeLists.txt Add StructuredData plugin type; showcase with new DarwinLog feature 2016-08-19 04:21:48 +00:00