1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/tools/dsymutil
Zachary Turner 0b859bfff5 Refactor ExecuteAndWait to take StringRefs.
This simplifies some code which had StringRefs to begin with, and
makes other code more complicated which had const char* to begin
with.

In the end, I think this makes for a more idiomatic and platform
agnostic API.  Not all platforms launch process with null terminated
c-string arrays for the environment pointer and argv, but the api
was designed that way because it allowed easy pass-through for
posix-based platforms.  There's a little additional overhead now
since on posix based platforms we'll be takign StringRefs which
were constructed from null terminated strings and then copying
them to null terminate them again, but from a readability and
usability standpoint of the API user, I think this API signature
is strictly better.

llvm-svn: 334518
2018-06-12 17:43:52 +00:00
..
BinaryHolder.cpp [dsymutil] Fix typos and formatting. NFC. 2018-02-22 11:32:51 +00:00
BinaryHolder.h [dsymutil] Remove \brief from comments. NFC 2018-02-22 11:43:43 +00:00
CFBundle.cpp [dsymutil][NFC] Replace calls to CoreFoundation with LLVM equivalent. 2017-12-28 14:05:49 +00:00
CFBundle.h [dsymutil] Upstream getBundleInfo implementation 2017-11-30 10:25:28 +00:00
CMakeLists.txt Remove LLVM_INSTALL_CCTOOLS_SYMLINKS 2018-04-24 15:41:02 +00:00
DebugMap.cpp [Support] Add convenience functions to WithColor. NFC. 2018-04-14 21:36:42 +00:00
DebugMap.h [dsymutil] Upstream emitting of papertrail warnings. 2018-04-02 10:40:43 +00:00
dsymutil.cpp [ADT] Make escaping fn conform to coding guidelines 2018-05-31 17:01:42 +00:00
dsymutil.h [dsymutil] Apply recursion workaround for threading 2018-04-03 18:01:18 +00:00
DwarfLinker.cpp [DWARF] Refactor callback usage for .debug_line error handling 2018-05-21 15:30:54 +00:00
LLVMBuild.txt [dsymutil] Rename llvm-dsymutil -> dsymutil 2018-03-18 11:38:41 +00:00
MachODebugMapParser.cpp [Support] Add convenience functions to WithColor. NFC. 2018-04-14 21:36:42 +00:00
MachOUtils.cpp Refactor ExecuteAndWait to take StringRefs. 2018-06-12 17:43:52 +00:00
MachOUtils.h [dsymutil] Fix typos and formatting. NFC. 2018-02-22 11:32:51 +00:00
NonRelocatableStringpool.cpp [tools] Change std::sort to llvm::sort in response to r327219 2018-04-01 21:24:53 +00:00
NonRelocatableStringpool.h [dsymutil] Move string pool into its own implementatino file. NFC. 2018-03-01 10:05:54 +00:00