mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 21:45:16 +00:00
0b859bfff5
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 |
||
---|---|---|
.. | ||
BugDriver.cpp | ||
BugDriver.h | ||
bugpoint.cpp | ||
CMakeLists.txt | ||
CrashDebugger.cpp | ||
ExecutionDriver.cpp | ||
ExtractFunction.cpp | ||
FindBugs.cpp | ||
ListReducer.h | ||
LLVMBuild.txt | ||
Miscompilation.cpp | ||
OptimizerDriver.cpp | ||
ToolRunner.cpp | ||
ToolRunner.h |