467ef21cafa8be9c62f4adc70a04496607336cd8 |
|
25-Dec-2011 |
Bill Wendling <isanbard@gmail.com> |
Add braces to remove silly warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147264 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
2d24e2a396a1d211baaeedf32148a3b657240170 |
|
20-Dec-2011 |
David Blaikie <dblaikie@gmail.com> |
Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146960 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
597362a54bf4bb8de5538b4a1d97c618b18a023c |
|
01-Nov-2011 |
Eli Friedman <eli.friedman@gmail.com> |
A couple misc fixes so that bugpoint doesn't explode reducing code containing landingpads. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143435 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
e49a13e7260b83ce56d01446f2a165cc9f35da7f |
|
07-Jun-2010 |
Dan Gohman <gohman@apple.com> |
Use ->isVoidTy(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105550 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
70972bb5cd9ef1ae22555f53dccc7e3c5ea56cb0 |
|
05-Jun-2010 |
Dan Gohman <gohman@apple.com> |
No need to special-case structs here; structs are first-class now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105513 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
1df9859c40492511b8aa4321eb76496005d3b75b |
|
16-Feb-2010 |
Duncan Sands <baldrick@free.fr> |
There are two ways of checking for a given type, for example isa<PointerType>(T) and T->isPointerTy(). Convert most instances of the first form to the second form. Requested by Chris. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96344 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
74382b7c699120fbec5cb5603c9cf4212eb37f06 |
|
24-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
Prune #includes from llvm/Linker.h and llvm/System/Path.h, forcing them down into various .cpp files. This change also: 1. Renames TimeValue::toString() and Path::toString() to ::str() for similarity with the STL. 2. Removes all stream insertion support for sys::Path, forcing clients to call .str(). 3. Removes a use of Config/alloca.h from bugpoint, using smallvector instead. 4. Weans llvm-db off <iostream> sys::Path really needs to be gutted, but I don't have the desire to do it at this point. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79869 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
1d0be15f89cb5056e20e2d24faa8d6afb1573bca |
|
13-Aug-2009 |
Owen Anderson <resistor@mac.com> |
Push LLVMContexts through the IntegerType APIs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78948 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
a7235ea7245028a0723e8ab7fd011386b3900777 |
|
31-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Move a few more APIs back to 2.5 forms. The only remaining ones left to change back are metadata related, which I'm waiting on to avoid conflicting with Devang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77721 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
65f57c233cd4499e2e8b52a503201e64edfd6a9e |
|
15-Jul-2009 |
Dan Gohman <gohman@apple.com> |
Use errs() instead of std::cerr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
0a5372ed3e8cda10d724feda3c1a1c998db05ca0 |
|
13-Jul-2009 |
Owen Anderson <resistor@mac.com> |
Begin the painful process of tearing apart the rat'ss nest that is Constants.cpp and ConstantFold.cpp. This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's the only way I could figure out to make this process vaguely incremental. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75445 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
028839db09eb47424cd3955471f2c32c68fee74d |
|
25-May-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Fix the crash debugger to actually bisect globals once it's determined that it can't just eliminate all global initializers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
4c8f9af6e0c264a99b41817b2ee78c2297930165 |
|
25-May-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Add a bisection step on the list of instructions before doing the linear simplification. It's not clear to me whether this can replace the first of the linear instruction simplification stages or not, so I left it in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72377 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
2c235010312f72622acd4b7bb70f87cf31a982f6 |
|
24-May-2009 |
Torok Edwin <edwintorok@gmail.com> |
Make bugpoint emit a bugpoint-reduced-blocks.bc, because bugpoint itself can crash during instruction simplification (for example if it creates a broken module). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72362 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
23d471f62eed3518fe7737dbccee52faec4ffe75 |
|
24-May-2009 |
Torok Edwin <edwintorok@gmail.com> |
Add -disable-global-remove option to bugpoint. Sometimes when bugpointing a crash the bugpoint-reduced-simplified.bc reproduces a totally different bug than the original one ("GV doesn't have initializer"). Although its useful to report that bug too, I need a way to reduce the original bug, hence I introduced -disable-global-remove. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72361 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
e032590f58e400ba25e416da5bee10a85ad6d114 |
|
04-Apr-2009 |
Nick Lewycky <nicholas@mxc.ca> |
CloneModule stores the BasicBlock mapping in ValueMap. There's no need to recompute it. This fixes a O(n^2) in number of blocks when reducing a crash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68422 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
f6dd0eb5c4a1c4824d7f83fa39586478da618ffd |
|
06-Mar-2009 |
Dan Gohman <gohman@apple.com> |
Use CloneModule's ValueMap to avoid needing to look up functions by name. This fixes PR718. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66239 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
ef0ff140a72c18893529c33cee8e7cd634b008bd |
|
06-Mar-2009 |
Dan Gohman <gohman@apple.com> |
Fix a bugpoint bug on anonymous functions. Instead of looking up functions in the new module by name, use the ValueMap provided by CloneModule to do the lookups. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66216 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
bcbd9c43a17652c62875ffb9a008f549d0ec5714 |
|
29-Jul-2008 |
Matthijs Kooijman <matthijs@stdin.nl> |
Improve bugpoint output a bit by outputting the actual instructions instead of just it's name, which is often empty. Also remove a newline from the output that wasn't really needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54158 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
e78109eb3a3d177d03cea40b46d9dcfc9bf32210 |
|
28-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
several multiple-retval fixes for bugpoint. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50331 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
58f3bcdbb97cb6d86a04de200f3ef775b067c4c2 |
|
07-Apr-2008 |
Bill Wendling <isanbard@gmail.com> |
Remove tabs. Patch by Mike Stump! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49317 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
051a950000e21935165db56695e35bade668193b |
|
06-Apr-2008 |
Gabor Greif <ggreif@gmail.com> |
API changes for class Use size reduction, wave 1. Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49277 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
df4613ced2d5d1025575f70a16f1fac9bcc2669d |
|
24-Mar-2008 |
Andrew Lenharth <andrewl@lenharth.org> |
With debug info, there are nameless constant global values. do not crash when we hit one git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48749 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
03b696376219945d67caffda1995d12e3410f05b |
|
06-May-2007 |
Chris Lattner <sabre@nondot.org> |
add bitcode support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36849 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
688b0490e22eb67623f5aaa24406209be74efcb2 |
|
05-Feb-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR411: Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33922 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
ef9b9a793949469cdaa4ab6d0173136229dcab7b |
|
05-Feb-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR411: This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addresses the necessary changes to deal with this and removes code no longer needed as a result. This completes the bulk of the changes for this PR. Some cleanup patches will follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
5cbf985dcbc89fba3208e7baf8b6f488b06d3ec9 |
|
30-Jan-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoid confusion with external linkage types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33663 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
78d033e086e19e016273de014f9214aa6f3f844b |
|
06-Jan-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR411: Take an incremental step towards type plane elimination. This change separates types from values in the symbol tables by finally making use of the TypeSymbolTable class. This yields more natural interfaces for dealing with types and unclutters the SymbolTable class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32956 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
3ed469ccd7b028a030b550d84b7336d146f5d8fa |
|
02-Nov-2006 |
Reid Spencer <rspencer@reidspencer.com> |
For PR786: Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31380 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
22706e82d57fd37150d494881a8f90b4043d42a1 |
|
27-Oct-2006 |
Bill Wendling <isanbard@gmail.com> |
Forgot a } git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31226 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
b3d83a3ed5e99cc858141ee4da61fe9f80ec4b00 |
|
27-Oct-2006 |
Bill Wendling <isanbard@gmail.com> |
Re-added the part where it tries to remove all global variables first. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31225 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
f1b20d8620b05abaa52f40ac6d21f839b265fb00 |
|
07-Jun-2006 |
Chris Lattner <sabre@nondot.org> |
Move ToolRunner.(cpp|h) into the bugpoint directory git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28699 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
cc540ebabcc8893d08f204f83f30a5168516fcd6 |
|
17-Mar-2006 |
Chris Lattner <sabre@nondot.org> |
add an assert to get a slightly better msg about this problem git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26812 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
7c0a93785e283110ff05e4a95062990fd32a8389 |
|
05-Mar-2006 |
Andrew Lenharth <andrewl@lenharth.org> |
For transforms the behave differently if main goes away, add an option to prevent bugpoint from removing main git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26557 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
a229c5cce75209047db32c6039aa0b0fd481f049 |
|
08-Jul-2005 |
Reid Spencer <rspencer@reidspencer.com> |
Final Changes For PR495: This chagne just renames some sys::Path methods to ensure they are not misused. The Path documentation now divides methods into two dimensions: Path/Disk and accessor/mutator. Path accessors and mutators only operate on the Path object itself without making any disk accesses. Disk accessors and mutators will also access or modify the file system. Because of the potentially destructive nature of disk mutators, it was decided that all such methods should end in the work "Disk" to ensure the user recognizes that the change will occur on the file system. This patch makes that change. The method name changes are: makeReadable -> makeReadableOnDisk makeWriteable -> makeWriteableOnDisk makeExecutable -> makeExecutableOnDisk setStatusInfo -> setStatusInfoOnDisk createDirectory -> createDirectoryOnDisk createFile -> createFileOnDisk createTemporaryFile -> createTemporaryFileOnDisk destroy -> eraseFromDisk rename -> renamePathOnDisk These changes pass the Linux Deja Gnu tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
dd04df0ec33a903ee7fc747701bafde622f77d8b |
|
08-Jul-2005 |
Reid Spencer <rspencer@reidspencer.com> |
For PR495: Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22349 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
852b4d4bf4aa6b80298a60f76092b80c8bd1efad |
|
15-Mar-2005 |
Chris Lattner <sabre@nondot.org> |
Replace more a*'s with arg_*'s, thanks to Gabor Greif! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20615 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
83881957edee0b1cb89428fa1a3b022d7d84ee13 |
|
22-Jan-2005 |
Jeff Cohen <jeffc@jolt-lang.org> |
Fix VC++ complaint git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
5f76760c880e6d61c229d2058c5699b033caeae1 |
|
17-Dec-2004 |
Reid Spencer <rspencer@reidspencer.com> |
For PR351: * removeFile() -> sys::Path::destroyFile() * remove extraneous toString() calls * convert local variables representing path names from std::string to sys::Path * Use sys::Path objects with FileRemove instead of std::string * Use sys::Path methods for construction of path names git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19001 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
551ccae044b0ff658fe629dd67edd5ffe75d10e8 |
|
02-Sep-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Changes For Bug 352 Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
47b14a4a6a455c7be169cfd312fcbe796f0ad426 |
|
29-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
Fix #includes of i*.h => Instructions.h as per PR403. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15334 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
eed80e23751ecc50c1fa5604f67be4b826d5b417 |
|
23-Jul-2004 |
Misha Brukman <brukman+llvm@gmail.com> |
* Convert "\n" -> '\n' * Print out another '\n' after printing out program execution status * Make sure code wraps at 80 cols git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15123 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
9231ac8b6f2c3f9877bdb7a223f7392061258ab6 |
|
25-May-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Convert to SymbolTable's new iteration interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
b2c180f04e4f71a29c8c4a2478179cb1ddd5d859 |
|
13-Mar-2004 |
Chris Lattner <sabre@nondot.org> |
Fix the "infinite looping unless you disable adce" bug Also remove an option to disable adce :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12359 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
f66d9069cff9ee8b3658b92d3a13d04d198ada91 |
|
19-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Fix the "horribly N^2'd" problem when deleting individual instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11617 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
8b189277bde5f617405dded0bbd6583e6665f4df |
|
19-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
* Predicate the optimizer crash debugger on a function. * Implement a new code generator crash debugger which uses this predicate git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
fa76183e8e28985dfd17b1d6291c939dab4cbe1d |
|
14-Jan-2004 |
Chris Lattner <sabre@nondot.org> |
finegrainify namespacification git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10839 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
8bc098be0cce48dcc08fea746d28011cac79eef6 |
|
22-Nov-2003 |
Chris Lattner <sabre@nondot.org> |
Do not crash when dealing with invoke and unwind instructions! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10160 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
73b96bd52d9361d5c947e4fb660a46e498f7b407 |
|
27-Oct-2003 |
Chris Lattner <sabre@nondot.org> |
Do not print out lists with thousands of elements in them, that's kinda silly git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9523 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
cf00c4ab3ba308d45d98c5ccab87362cf802facb |
|
10-Oct-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Fix spelling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9027 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
5560c9d49ccae132cabf1155f18aa0480dce3eda |
|
18-Aug-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Spell `necessary' correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7944 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
3d9cafa003a114bf9974bc80d5b69b0ed1d29290 |
|
07-Aug-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
File-related functions moved to FileUtilities.h . git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7696 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
e49603d79d220a795bd50684c8b1f503ee40f97f |
|
07-Aug-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Re-grouped and alphabetized headers for easier reading and cleaner style. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7689 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
0bd75bb92d25591b89f5dee08fb343709d792d5b |
|
07-Aug-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Moved SystemUtils.h to include/Support and SystemUtils.cpp to lib/Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7687 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
a493ae300b01bae69b66d961b5d67be5d64e129a |
|
05-Aug-2003 |
Misha Brukman <brukman+llvm@gmail.com> |
Only test the vector of functions if it is non-empty. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7594 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
5cfff2545d5c731bb236d6e5c355bcb59d7abda7 |
|
04-Aug-2003 |
John Criswell <criswell@uiuc.edu> |
Added code that ensures that we don't try to reduce an empty vector of basic blocks. This fixes the bugpoint regressions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7569 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
898e0e42e3c09e9f2098bf9a83720b5a33b52fc7 |
|
25-Jun-2003 |
Chris Lattner <sabre@nondot.org> |
Try to run cleanups even if nothing was modified in the preview passes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6897 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
b417c795d2a8832b5edac321dc0d19eca7e3f2f5 |
|
02-Jun-2003 |
Chris Lattner <sabre@nondot.org> |
Remove stupid thinko that was preventing bugpoint from working git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6533 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
5f73e38548c57636ad0ef8c719d040e166761962 |
|
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
Big programs have tons of global variable initializers, and most passes don't care about them. Try to delete them if it doesn't affect the passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
f607b79bc78fcbfd8cda01d2d5dbda6cd8253a40 |
|
25-Apr-2003 |
Chris Lattner <sabre@nondot.org> |
The big fix is this change: - if (I->isExternal() && !Functions.count(I)) + if (!I->isExternal() && !Functions.count(I)) We were not actually deleting any functions from the module! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5914 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/tools/bugpoint/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|
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/CrashDebugger.cpp
|