37ed9c199ca639565f6ce88105f9e39e898d82d0 |
|
01-Dec-2014 |
Stephen Hines <srhines@google.com> |
Update aosp/master LLVM for rebase to r222494. Change-Id: Ic787f5e0124df789bd26f3f24680f45e678eef2d
/external/llvm/tools/bugpoint/BugDriver.h
|
dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/tools/bugpoint/BugDriver.h
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/tools/bugpoint/BugDriver.h
|
e528a2c21a63a06c5e3cdf929000d77c59ac0937 |
|
28-Jun-2013 |
Hal Finkel <hfinkel@anl.gov> |
Fix bugpoint execution/reference output file name sys::fs::unique_file will now loop infinitely if provided with a file name without '%' characters and the input file already exists. As a result, bugpoint cannot use a fixed file name for the execution output (including the reference output). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185166 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
88088f4067ae002aebf6e32079c446b06fab31f1 |
|
18-Jun-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't use PathV1.h in tools/bugpoint/Miscompilation.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184193 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
f010c464a11444733ec67e31aace8bcebeaf2588 |
|
04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort the #include lines for tools/... Again, tools are trickier to pick the main module header for than library source files. I've started to follow the pattern of using LLVMContext.h when it is included as a stub for program source files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169252 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
1ed219a9d2279ce5a5bbcf16d9b7ccc05cce638c |
|
13-Oct-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Be more consistent in using ValueToValueMapTy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116387 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
866aa0d742b7bc9811fd1b45507af999c605205a |
|
10-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use RunPassesOn as in the rest of bugpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110682 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
8261dfed05e32302469ef707cc881fed2c31f85f |
|
08-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Most of bugpoint now only needs to know the pass names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110534 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
7f99f74b7fc298dad4c61c15b064dc951d2b3cbb |
|
08-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Run opt instead of bugpoint itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110524 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
b8be03b0e4275eca68f998baab47e66b8a091c05 |
|
05-Aug-2010 |
Bob Wilson <bob.wilson@apple.com> |
Revert bugpoint change due to buildbot breakage. --- Reverse-merging r110333 into '.': U tools/bugpoint/BugDriver.h U tools/bugpoint/OptimizerDriver.cpp U tools/bugpoint/bugpoint.cpp U tools/bugpoint/BugDriver.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110341 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
d02dc8d096fddde166826b84b3ddfa8a993407de |
|
05-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Run opt instead of bugpoint itself. Fixes PR753. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110333 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
248d1c65f1ce5bc04b892998b2c2061e6a5f8e1c |
|
05-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add const to compileProgram and to the various test functions in CrashDebugger. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110306 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
5d8cace94a71169ce8493baa7f3305a27fe0cd84 |
|
05-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a Module argument to the remaining runPasses methods and mark getContext const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110300 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
ca356afe09454b3378165ded4eda294bd6341428 |
|
05-Aug-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make EmitProgressBitcode const and add a Module argument to runPasses. Use that argument to simplify runPassesOn. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110291 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
13793264e7cbf58e3b7b0cff3baac8e0b7a11a9d |
|
31-Jul-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add const to some methods and change TestMergedProgram to return the merged module and take a const BugDriver. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109951 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
10757dd8e1a66128b205bd04797c8aed0cb7a1bd |
|
30-Jul-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a Program argument to diffProgram to avoid a use of swapProgramIn. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109859 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
bae1b71cbb930e419df03db209ebc547a0e4ec72 |
|
28-Jul-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Instead of abusing swapProgramIn, just add a Module argument to EmitProgressBitcode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
8be3291f5942e3ae4a5d66c480e7aabe2f771031 |
|
20-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Speculatively revert r108813, in an attempt to get the self-host buildbots working again. I don't see why this patch would cause them to fail the way they are, but none of the other intervening patches seem likely either. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108818 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
9e081004dad1c3cae7de82ad412c3f19a1a48d48 |
|
20-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Reapply r108794, a fix for the failing test from last time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108813 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
e8a469cdb400249ec263c79d1021f953f42f2760 |
|
20-Jul-2010 |
Daniel Dunbar <daniel@zuster.org> |
Revert r108794, "Separate PassInfo into two classes: a constructor-free superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo).", it is breaking teh everything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
8ba15cb7099d9eadcb345328228d77ffa5afa42d |
|
20-Jul-2010 |
Owen Anderson <resistor@mac.com> |
Separate PassInfo into two classes: a constructor-free superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108794 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
3472766f9eb7d66f234c390ce1b3a8b76f0ee9ce |
|
12-Jul-2010 |
Duncan Sands <baldrick@free.fr> |
Convert some tab stops into spaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
e9916a302f1bacad234d7dafc1df3dc968a6ba0f |
|
24-Jun-2010 |
Devang Patel <dpatel@apple.com> |
Use ValueMap instead of DenseMap. The ValueMapper used by various cloning utility maps MDNodes also. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106706 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
d4ef4df939a830ae3ea4bd9063f6ec5e8d9dd216 |
|
14-Apr-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Remove accidentally committed cruft. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101230 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
ac15da67055a33ce418be23ce7681358b3093aeb |
|
14-Apr-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Bugpoint no longer uses exceptions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101228 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
22ff748712b348300e51248339b6e8cf9b59e2c6 |
|
12-Apr-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Remove use of exceptions from bugpoint. No deliberate functionality change! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101013 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
16350f8d00fc3a4a8d2da8a746a29979505af9a8 |
|
11-Apr-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Remove dead argument and clean whitespace. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100954 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
c1dc0679706f7538cd17169b920967c54661e5b6 |
|
22-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Free all Constants in ~LLVMConstantImpl. We avoid assertion failures by dropping all references from all constants that can use other constants before trying to destroy any of them. I also had to free bugpoint's Module in ~BugDriver(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99160 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
c3e6859d8dc9014fee8023497153add9a2148f22 |
|
19-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Bugpoint's default memory limit (100MB) was too low for valgrind, so this patch raises the default to 800MB when valgrind's active. 800 was chosen semi-arbitrarily. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98905 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
12ddd409535b52a7fa5157ded9a4cedd161fedb6 |
|
11-Aug-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Make LLVMContext and LLVMContextImpl classes instead of structs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78690 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
197f728d49fa0cc0baa5aadb2b905fbd8c22a81e |
|
05-Aug-2009 |
Dan Gohman <gohman@apple.com> |
Fix FindExecutable to use sys::Path::GetMainExecutable instead of just argv[0]. And remove the code for searching the current working directory and for searching PATH; the point of FindExecutable is not to find whatever version of the executable can be found by searching around, but to find an executable that accompanies the current executable. Update the tools to use sys::Program::FindProgramByName when they want PATH searching. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78240 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
48b2f3e4850cd27d54224cd42da8a160d6b95984 |
|
05-Aug-2009 |
Owen Anderson <resistor@mac.com> |
Factor some of the constants+context related code out into a separate header, to make LLVMContextImpl.h not hideous. Also, fix some MSVC compile errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78115 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
ac95cc79ac0b899d566cc29c0f646f39c2fa35c0 |
|
16-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Convert more tools code from cerr and cout to errs() and outs(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76070 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
4434ed44c45c87a72b7a0bf2f91211f895022b91 |
|
02-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the moment, that I will need to make far-reaching changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74655 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
31895e73591d3c9ceae731a1274c8f56194b9616 |
|
01-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Hold the LLVMContext by reference rather than by pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
8b477ed579794ba6d76915d56b3f448a7dd20120 |
|
01-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Add a pointer to the owning LLVMContext to Module. This requires threading LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
d50330cd02b00c8e3de40e8544c45701b9891d87 |
|
22-Apr-2009 |
Dan Gohman <gohman@apple.com> |
Use CloneModule's ValueMap in more places, instead of looking up functions by name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
70ef449741da8b1ef035e04a55958652a0200ba1 |
|
08-Dec-2008 |
Dan Gohman <gohman@apple.com> |
Generalize bugpoint's concept of a "safe" backend, and add options to allow the "safe" backend to be run with a different path, and/or with different command-line options. This enables the following use cases: - bugpoint llc against an llc command from a different build - bugpoint llc against the same llc with different command-line options - and more... Also, document the existing "custom" interpreter options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60681 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
21c62da287237d39d0d95004881ea4baae3be6da |
|
29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
remove attributions from tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45421 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
6fa98b13206583e6eb90b8304758b35548914944 |
|
14-Nov-2007 |
Nick Lewycky <nicholas@mxc.ca> |
Allow the block extractor take to take a list of basic blocks to not extract from a file containing Function/BasicBlock pairings. This is not safe against anonymous or abnormally-named Funcs or BBs. Make bugpoint use this interface to pass the BBs list to the child bugpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44101 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
8ff70c2635bfd4e02c0140a5dc9ca909fffba35a |
|
04-Jul-2007 |
Gabor Greif <ggreif@gmail.com> |
Pretty straightforward replacement of "bytecode" by "bitcode" performed on tools/ first, in order not to cause lethal damage git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37877 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
9ba8a76f8baaa1092d60ccfbc04e7efdc207c98f |
|
16-Feb-2007 |
Anton Korobeynikov <asl@math.spbu.ru> |
Add possibility to set memory limit for binaries run via libSystem. This is especially needed for bugpoint. This partly implements PR688 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34349 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
4e3be89cb5cde6e2df294c64db3bc28133b67594 |
|
25-Oct-2006 |
Bill Wendling <isanbard@gmail.com> |
Fix for PR960. Improves bugpoint so that it removes global variable initializers as well. This is only a first pass. It can be slow because it clones the module for each pass. An obvious improvement is not to do that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31182 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
c600f3c337f18c62116ac58b701e4f7ae6d2fb1a |
|
15-Sep-2006 |
Chris Lattner <sabre@nondot.org> |
Add a new -cbe-bug mode, which works just like -run-llc, except that it uses LLC as the reference compiler to reduce testcases for bugs in GCC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
c0431fe1ca52c5d159c604957f337aa3eb1ec3d3 |
|
17-Aug-2006 |
Chris Lattner <sabre@nondot.org> |
fit in 80 cols git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
6a3f31cb707972ebde1e45a61fa8f5bcff132eba |
|
15-Aug-2006 |
Patrick Jenkins <pjenkins@apple.com> |
This commit adds a new feature called find-bugs. The find-bugs option can be invoked on a .bc file from the command like with -find-bugs and a list of passes you wish to test. This procedure takes the set of optimization passes the user specifies, randomizes the passes, runs the passes on the specified .bc file, compiles the program, and finally runs the program checking its output vs the .bc file with no optimizations. This process repeats until either the user kills bugpoint or an error occurs in the optimizations, program complitation, or the running of the program. If an error occurs, bugpoint attempts to diagnose the error by eliminating passes that are not at fault and code that is not needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29703 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
9686ae7f4ea5f19ce77e31e64e0916db41a82662 |
|
13-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Teach bugpoint to kill optimization passes that run over the timeout limit, which allows it to debug optimizer infinite loops. This patch is contributed by Nick Lewycky, thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28763 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
c4bb052ecccfafa0ffa928d0b061db35734ee2ee |
|
22-Dec-2005 |
Reid Spencer <rspencer@reidspencer.com> |
For PR351: Generally, remove use of fork/exec from bugpoint in favor of the portable sys::Program::ExecuteAndWait method. This change requires two new options to bugpoint to tell it that it is running in "child" mode. In this mode, it reads its input and runs the passes. The result code signals to the parent instance of bugpoint what happened (success, fail, crash). This change should make bugpoint usable on Win32 systems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24961 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
f9aaae06cd2109082cda2b09ef3f23e0e1cff47b |
|
02-Aug-2005 |
Chris Lattner <sabre@nondot.org> |
When the user hits ctrl-c, bugpoint should attempt to stop reduction as quickly as possible and output what it has so far. If they hit it twice, bugpoint is killed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22579 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
ea3e5e56fdc56e5c2ddafb36eab26676e137dfa0 |
|
22-Apr-2005 |
Jeff Cohen <jeffc@jolt-lang.org> |
Eliminate tabs and trailing spaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21441 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
3da94aec4d429b2ba0f65fa040c33650cade196b |
|
22-Apr-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
Remove trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
5e783ab0b5fc3407ec59f1a598fdb9ef3b96b287 |
|
11-May-2004 |
Chris Lattner <sabre@nondot.org> |
Implement basic block extraction for the miscompilation debugger. This still needs two things: the FIXME in ExtractBlocks needs to be implemented, and the basic block extractor itself needs to have enough bugs fixed for this to be more or less useful. Until the time that this is generally useful, it is hidden behind the new bugpoint -enable-block-extraction option. I hope to get the FIXME done tonight. Also of note, this patch adds a -extract-bbs option to bugpoint which can be used to debug the block extractor. (hint hint Misha :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13471 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
a57d86b436549503a7f96c5266444e022bdbaf55 |
|
06-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
Merge the code generator miscompilation code into the optimizer miscompilation code. This "instantly" gives us loop-extractor power to assist with the debugment of our nasty codegen issues. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12678 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
11b8cd197a740bc9af2f27cb88d535c4be2cdd0e |
|
06-Apr-2004 |
Chris Lattner <sabre@nondot.org> |
Make a method public git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12677 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
0a002569003fd23a4e117fe54a9bb8a6673b86da |
|
14-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Add a new "AutoDebugCrashes" option git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12396 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
3b6441e1050a9a2a55c79f58513191b3195fdaf7 |
|
14-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Add new method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12394 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
efdc0b505712d1ca4460def27e51c430f033d58d |
|
14-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Refactor and clean up a bunch more code. No major functionality changes. * Make several methods of bugdriver global functions (ParseInputFile, PrintFunctionList) * Make PrintFunctionList truncate the output after 10 entries, like the crash debugger did. This allows code sharing. * Add a couple of methods to BugDriver that allows us to eliminate some friends * Improve comments in ExtractFunction.cpp * Make classes that used to be friends up bugdriver now live in anon namespaces * Rip a bunch of functionality in the miscompilation tester into a new TestMergedProgram function for future code sharing. * Fix a bug in the miscompilation tester induced in my last checkin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12393 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
7546c3884a400b72d10fc19f120c6798b294a39d |
|
14-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Add a method to extract a loop git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12391 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
be21ca54e08339ede5dd4bbb882182d22e274988 |
|
14-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Refactor all of the "splitting a module into two pieces" code to avoid code duplication. Also, don't use ReduceMiscompilingFunctions::TestFuncs to print out the final message. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12387 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
ea9212ca964ff6587227016f86a44160e586a4c8 |
|
19-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Add a new method for use by the code generator crash debugger. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11613 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
0cc8807029f577996a442b96d24c3346ed6de091 |
|
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Make more stuff public. Make the instruction argument to deleteInstructionFromProgram be const git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11606 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
a36ec88203a979a686b0ed1d49e0d7039194f040 |
|
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
make a bunch of methods public git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11605 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
f913f40be8501738fa4bdcae2015dd196dcbfc50 |
|
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
A couple of minor cleanups: don't forward declare private classes, put private classes in an anon namespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11604 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
06905db7d2a2b83c1b3236d5552629ada2d8d56d |
|
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Cleanup and simplify manipulation of the program, eliminate the need for so many 'friends' of bugdriver. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11603 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
025262692a6710de29a48e2b3905672cd12d13d2 |
|
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Add a stub for debugging code generator crashes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
7bb11547e497d7b8fc87f61c1089eee808e3a1ee |
|
18-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Update comments, if we are running with the CBE, make sure the Interpreter variable and the CBE variable are pointer equal. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11599 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
c5cad211d6ec50fe90a0a716dee701c6c4721385 |
|
11-Feb-2004 |
Brian Gaeke <gaeke@uiuc.edu> |
Add check-exit-code option, defaulting to true. Add ProgramExitedNonzero argument to executeProgram(), and make it tell its caller whether the program exited nonzero. Move executeProgramWithCBE() out of line, to ExecutionDriver.cpp, and remove its extra arguments which are always defaulted. Make it turn off check-exit-code if the program exits nonzero while generating a reference output. Make diffProgram() assume that any nonzero exit code is a failure, if check-exit-code is turned on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11325 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
d0fde30ce850b78371fd1386338350591f9ff494 |
|
11-Nov-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Put all LLVM code into the llvm namespace, as per bug 109. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
fcb6ec0c7e37c2d15ddb04878f05cbd69d1da036 |
|
05-Nov-2003 |
Chris Lattner <sabre@nondot.org> |
I hate it when bugpoint is all ready to give me a bytecode file, then crashes in final cleanups. Then you had to run the whole mess again with -disable-final-cleanups. This makes bugpoint run the cleanups in a protected environment so that if they crash, bugpoint itself doesn't crash. This makes things much happier, implements a FIXME, and gets rid of YABPO (yet another bugpoint option). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9743 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
417477d6c2163e428be4e8ae9754518d877219df |
|
05-Nov-2003 |
Chris Lattner <sabre@nondot.org> |
Simplify the performFinalCleanups interface git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9740 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
943211187d72eb27d4f54de9ac7e5786e72b38e1 |
|
20-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
fix file headers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9293 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
7c0e022c5c4be4b11e199a53f73bbdd84e34aa80 |
|
20-Oct-2003 |
John Criswell <criswell@uiuc.edu> |
Added copyright header to all C++ source files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9291 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
9c6cfe1bffd37f29a265457b7515839c445b3e6a |
|
18-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Be more helpful if a pass fails while chasing down a miscompilation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9214 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
769f1fe6728ffb5627ae0cedc392576d6e701a5a |
|
14-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Change the execute methods to take the shared object filename by const reference. Other adjustments to work with the new ToolRunner interfaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
a0f5b15e1eb8642d92b3141a6b88a5729ea979dc |
|
14-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
The return value of compileSharedObject was never used. Return the shared object's name instead git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9120 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
47ae4a1cee5eec5767a11403c0fac7c91ec45461 |
|
05-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
If we're debugging the SimplifyCFG pass, we _REALLY_ don't want to use it for narrowing, no matter what. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7596 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
587a6ce4b99346b5e785d0a5c360c6c6687b036a |
|
01-Aug-2003 |
Chris Lattner <sabre@nondot.org> |
Parameterize the performFinalCleanups a bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7477 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
fe04db890b87d9ac4c4a607e6bd0035e8cc2ad6c |
|
28-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Added comment to function isExecutingJIT() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7370 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
91eabc13d3a456cc4b387d3d7fdb041d976732c7 |
|
28-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
BugDriver.h: * Added method to query if BugDriver is executing the JIT currently. This provides the ability in adding code that is conditionally executed in codegen debugging phase. CodeGeneratorBug.cpp: * Delete test functions from the Safe module * Code conditionally added when debugging the JIT: use the lazy resolver function added to Emitter.cpp to get function pointer by name. When compiled into an .so, this is the only way to get a pointer to an external function * Added a symbol disambiguator which will keep symbols uniquely named across modules * Delete generated files by default * The function `main' *must* stay in the .bc file for the JIT, but that prevents debugging it alone. This patch makes the old `main' become `old_main' and adds a new function named `main' which just calls the original with the same parameters, thereby keeping functionality the same. ExecutionDriver.cpp: * Returned to getting unique filenames * Simplified code choosing between using and not using shared library option git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7364 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
a259c9be2acc9528ec7feb3cfd51dcde36d87bb3 |
|
24-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Made a bunch of cleanups, as per Chris' recommendations: * Removed unused global and member variables * Fixed comments (CodeGeneratorBug.cpp) * Check for possibly failing GCC::create() and CBE::create() * Remove generated files after diffing the output (e.g., shared object) * Instead of using std::for_each, use explicit loops as std::for_each may duplicate the functor, and ours carries state * Changed member var from cl::opt<std::string> to just std::string * Fixed doxygen comments * Fixed string comparisons to use [ str.empty() ] instead of [ str == "" ] * Cache instances of CBE and GCC in BugDriver across compilations and executions while testing tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7302 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
5073336cd4da5df4ae13a167582d1dc90f32e4e0 |
|
24-Jul-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Major addition to bugpoint: ability to debug code generators (LLC and LLI). The C backend is assumed correct and is used to generate shared objects to be loaded by the other two code generators. LLC debugging should be functional now, LLI needs a few more additions to work, the major one is renaming of external functions to call the JIT lazy function resolver. Bugpoint now has a command-line switch -mode with options 'compile' and 'codegen' to debug appropriate portions of tools. ExecutionDriver.cpp: Added implementations of AbstractInterpreter for LLC and GCC, broke out common code within other tools, and added ability to generate C code with CBE individually, without executing the program, and the GCC tool can generate executables shared objects or executables. If no reference output is specified to Bugpoint, it will be generated with CBE, because it is already assumed to be correct for the purposes of debugging using this method. As a result, many functions now accept as an optional parameter a shared object to be loaded in, if specified. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7293 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
286921e8d21d4f0655905ed278d0e140829c7d1f |
|
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Speed up convergence significantly and also reduce the size of testcases by making large portions of a function's CFG dead at a time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5915 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
44be25716628941b4cccccf56a28ee0ba2606850 |
|
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Remove dead functions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5913 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
aae33f9137e4a64394d8f9fe66611ae53a0ef4e8 |
|
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Use the list reducer to improve convergence speed and to support crashes that only occur when multiple passes interact or when multiple functions exist in a module git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5911 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
640f22e66d90439857a97a83896ee68c4f7128c9 |
|
24-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Implement support for bugpoint to identify which FUNCTION an optimization is miscompiling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5893 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
ba386d943f4a83095d9c625cb0d46c1afe45ed1f |
|
28-Feb-2003 |
Chris Lattner <sabre@nondot.org> |
* Reduce the number of useless bytecode files produced by bugpoint. - This also speeds it up as the bytecode writer isn't terribly fast. * Add a new cleanup pass after everything else to run -funcresolve -globaldce git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5668 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
6520785dcd22012535934098942d57c07c7631c2 |
|
23-Jan-2003 |
Chris Lattner <sabre@nondot.org> |
Make bugpoint *much* more powerful, giving it the capability to delete instructions out of a large function to reduce it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5408 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
218e26ef3583cc3270f5f2a2b9cb1025e5b05ebe |
|
24-Dec-2002 |
Chris Lattner <sabre@nondot.org> |
Implement the start of the miscompilation detection stuff git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5119 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|
afade9294af43c6b947b9aeaa1555883d5f853e3 |
|
20-Nov-2002 |
Chris Lattner <sabre@nondot.org> |
Initial checkin of bugpoint git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4789 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/BugDriver.h
|