llvm-project/lldb/source/Host/common
Greg Clayton 6bc8739e57 Don't use libc's "char *basename(char *)" or "char *dirname(char *)" as they are not thread safe.
I switched the lldb_private::FileSpec code over to use "llvm::StringRef llvm::sys::path::filename(llvm::StringRef)" for basename() and "llvm::StringRef llvm::sys::path::parent_path(llvm::StringRef)" for dirname().

<rdar://problem/16870083>

llvm-svn: 209917
2014-05-30 21:06:57 +00:00
..
CMakeLists.txt Merging the iohandler branch back into main. 2014-01-27 23:43:24 +00:00
Condition.cpp cleanup unreferenced functions 2014-03-20 06:08:36 +00:00
DynamicLibrary.cpp <rdar://problem/13209140> 2013-04-24 21:29:08 +00:00
Editline.cpp "process kill" and "process detach" were causing double prompts or prompts that would overwrite each other. Fixed now. 2014-05-08 23:04:39 +00:00
File.cpp Replace some _MSC_VER with _WIN32. 2014-03-12 10:45:23 +00:00
FileSpec.cpp Don't use libc's "char *basename(char *)" or "char *dirname(char *)" as they are not thread safe. 2014-05-30 21:06:57 +00:00
Host.cpp Use posix_spawn on NetBSD as well. 2014-05-02 19:09:40 +00:00
Makefile
Mutex.cpp Cleanup/rearrange includes: 2013-08-28 12:14:27 +00:00
OptionParser.cpp Moved a check in HostGetOpt.h. 2014-03-12 10:48:19 +00:00
ProcessRunLock.cpp MingW compilation (windows). Includes various refactoring to improve portability. 2013-08-23 12:44:05 +00:00
SocketAddress.cpp Fix Windows warnings. 2014-05-28 16:43:26 +00:00
Symbols.cpp Correct a standalone debug file path 2013-11-25 20:33:56 +00:00
Terminal.cpp sanitise sign comparisons 2014-04-02 03:51:35 +00:00
TimeValue.cpp Various small changes for build of LLDB on Visual Studio 2013 RC (MSVC12) 2013-09-20 22:35:22 +00:00