1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/tools/bugpoint
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
..
BugDriver.cpp Change the BugDriver to store the current module with std::unique_ptr. 2018-02-14 21:44:34 +00:00
BugDriver.h [bugpoint] Fix crash when testing for miscompilation. 2018-04-24 20:15:27 +00:00
bugpoint.cpp IWYU for llvm-config.h in llvm, additions. 2018-04-30 14:59:11 +00:00
CMakeLists.txt Link to AggressiveInstCombine in a few places. Unbreaks build for me. 2018-04-24 08:40:37 +00:00
CrashDebugger.cpp Move Analysis/Utils/Local.h back to Transforms 2018-06-04 21:23:21 +00:00
ExecutionDriver.cpp Change the BugDriver to store the current module with std::unique_ptr. 2018-02-14 21:44:34 +00:00
ExtractFunction.cpp Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
FindBugs.cpp Change the BugDriver to store the current module with std::unique_ptr. 2018-02-14 21:44:34 +00:00
ListReducer.h Remove uses of deprecated std::random_shuffle in the LLVM code base. Reviewed as https://reviews.llvm.org/D29780. 2017-02-16 14:37:03 +00:00
LLVMBuild.txt Ensure backends available in 'opt' are also available in 'bugpoint' 2017-06-24 08:09:33 +00:00
Miscompilation.cpp [bugpoint] Fix crash when testing for miscompilation. 2018-04-24 20:15:27 +00:00
OptimizerDriver.cpp Refactor ExecuteAndWait to take StringRefs. 2018-06-12 17:43:52 +00:00
ToolRunner.cpp Refactor ExecuteAndWait to take StringRefs. 2018-06-12 17:43:52 +00:00
ToolRunner.h bugpoint: Return Errors instead of passing around strings 2016-09-06 17:18:22 +00:00