diff options
author | Andrew Trick <atrick@apple.com> | 2011-02-08 18:20:48 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2011-02-08 18:20:48 +0000 |
commit | f73311bb646bf970806ba7caba220e6bffff7b49 (patch) | |
tree | 5669f44799f681a2dbe1d20f66b8845e38800c9a /tools/bugpoint/ToolRunner.h | |
parent | de86cbdc57f30621d3692da7a36613bb623d13b5 (diff) | |
download | llvm-f73311bb646bf970806ba7caba220e6bffff7b49.tar.gz llvm-f73311bb646bf970806ba7caba220e6bffff7b49.tar.bz2 llvm-f73311bb646bf970806ba7caba220e6bffff7b49.tar.xz |
Added bugpoint options: -compile-custom and -compile-command=...
I've been using this mode to narrow down llc unit tests. Example
custom compile script:
llc "$@"
not pygrep.py 'mul\s+r([0-9]), r\1,' < bugpoint-test-program.s
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/ToolRunner.h')
-rw-r--r-- | tools/bugpoint/ToolRunner.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/bugpoint/ToolRunner.h b/tools/bugpoint/ToolRunner.h index c127f9982b..cfa8acf6b2 100644 --- a/tools/bugpoint/ToolRunner.h +++ b/tools/bugpoint/ToolRunner.h @@ -103,8 +103,13 @@ public: static AbstractInterpreter* createJIT(const char *Argv0, std::string &Message, const std::vector<std::string> *Args=0); - static AbstractInterpreter* createCustom(std::string &Message, - const std::string &ExecCommandLine); + static AbstractInterpreter* + createCustomCompiler(std::string &Message, + const std::string &CompileCommandLine); + + static AbstractInterpreter* + createCustomExecutor(std::string &Message, + const std::string &ExecCommandLine); virtual ~AbstractInterpreter() {} |