summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint
Commit message (Collapse)AuthorAgeFilesLines
...
* Proper MSVC build fix (and remove my hack again). Patch by Yonggang Luo.Benjamin Kramer2009-08-191-7/+2
| | | | llvm-svn: 79418
* Add a hack to unbreak MSVC builds. str(n)casecmp are POSIX functions and ↵Benjamin Kramer2009-08-191-0/+5
| | | | | | aren't available on windows (mingw defines them though). llvm-svn: 79417
* Include valgrind in the steps to reproduce if valgrind was used to reproduceNick Lewycky2009-08-181-0/+1
| | | | | | the problem. llvm-svn: 79322
* Change bugpoint to use Triple to make runtime decisions.Daniel Dunbar2009-08-185-36/+64
| | | | | | | | | - This is cleaner, and makes bugpoint match the host instead of the build architecture. - Patch by Sandeep Patel! llvm-svn: 79309
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-133-18/+25
| | | | llvm-svn: 78948
* Make LLVMContext and LLVMContextImpl classes instead of structs.Benjamin Kramer2009-08-111-1/+1
| | | | llvm-svn: 78690
* MSVC warning fixes; patch by Stein Roger!Daniel Dunbar2009-08-071-1/+1
| | | | llvm-svn: 78405
* Privatize the StructType table, which unfortunately involves routing ↵Owen Anderson2009-08-051-1/+2
| | | | | | contexts through a number of APIs. llvm-svn: 78258
* Use (void *)(intptr_t) to cast function addresses to void*Dan Gohman2009-08-051-8/+4
| | | | | | | for use with sys::Path::GetMainExecutable, to avoid warnings with -pedantic. llvm-svn: 78245
* Fix FindExecutable to use sys::Path::GetMainExecutable instead ofDan Gohman2009-08-055-37/+40
| | | | | | | | | | | | | 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. llvm-svn: 78240
* Pass user only if it's non-empty. Patch by Sandeep.Anton Korobeynikov2009-08-051-2/+4
| | | | llvm-svn: 78184
* Add save-temps option to bugpoint to keep temporary stuff.Anton Korobeynikov2009-08-054-6/+14
| | | | | | Patch by Sandeep Patel llvm-svn: 78183
* Factor some of the constants+context related code out into a separate ↵Owen Anderson2009-08-041-1/+1
| | | | | | | | header, to make LLVMContextImpl.h not hideous. Also, fix some MSVC compile errors. llvm-svn: 78115
* Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵Owen Anderson2009-07-314-7/+4
| | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721
* Move more code back to 2.5 APIs.Owen Anderson2009-07-302-2/+2
| | | | llvm-svn: 77635
* Move types back to the 2.5 API.Owen Anderson2009-07-292-5/+4
| | | | llvm-svn: 77516
* Move ConstantExpr to 2.5 API.Owen Anderson2009-07-291-1/+1
| | | | llvm-svn: 77494
* Add a bugpoint flag to disable block extraction.David Goodwin2009-07-281-1/+5
| | | | llvm-svn: 77389
* Change ConstantArray to 2.5 API.Owen Anderson2009-07-282-2/+2
| | | | llvm-svn: 77347
* Pass true to the Internalize parameter of createStandardLTOPasses,Dan Gohman2009-07-271-1/+1
| | | | | | to match llvm-ld's default behavior. llvm-svn: 77273
* Move ConstantStruct back to 2.5 API.Owen Anderson2009-07-271-1/+1
| | | | llvm-svn: 77266
* Remove Value::setName(const char*, unsigned).Daniel Dunbar2009-07-261-2/+2
| | | | llvm-svn: 77100
* Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵Owen Anderson2009-07-241-1/+1
| | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011
* Switch to getNameStr().Daniel Dunbar2009-07-241-1/+1
| | | | llvm-svn: 76962
* Get rid of the Pass+Context magic.Owen Anderson2009-07-222-2/+2
| | | | llvm-svn: 76702
* 80 col violation.Evan Cheng2009-07-211-9/+9
| | | | llvm-svn: 76629
* For remote execution, must cd to the executable directory since the exe ↵David Goodwin2009-07-201-3/+4
| | | | | | expects to find a dylib in the CWD ('.'). llvm-svn: 76432
* Add -std-{compile,link}-opts to bugpoint.Daniel Dunbar2009-07-201-0/+40
| | | | | | - Sheesh. llvm-svn: 76402
* fix testChris Lattner2009-07-191-1/+2
| | | | llvm-svn: 76378
* DisambiguateGlobalSymbols should not mangle intrinsics.Chris Lattner2009-07-191-2/+2
| | | | llvm-svn: 76377
* Require a remote command to exit with the exit status of the test program or ↵Viktor Kutuzov2009-07-181-11/+59
| | | | | | with 255 if an error occurred. llvm-svn: 76323
* Convert more tools code from cerr and cout to errs() and outs().Dan Gohman2009-07-169-181/+174
| | | | llvm-svn: 76070
* To simplify the upcoming context-on-type change, switch all command line ↵Owen Anderson2009-07-151-1/+1
| | | | | | | | tools to using the default global context for now. This will let us to hardwire stuff to the global context in the short term while the API is sorted out. llvm-svn: 75846
* Add a Force option to raw_fd_ostream to specify whether openingDan Gohman2009-07-151-9/+8
| | | | | | | | an existing file is considered an error. Convert several tools to use raw_fd_ostream instead of std::ostream, and to use this new option instead of doing a manual check. llvm-svn: 75801
* Use errs() instead of std::cerr.Dan Gohman2009-07-159-127/+129
| | | | llvm-svn: 75791
* eliminate the Mangler::PreserveAsmNames bit, the sole client of thisChris Lattner2009-07-151-5/+10
| | | | | | can do it perfectly well itself. llvm-svn: 75743
* control reaches end of non-void function.Evan Cheng2009-07-141-0/+2
| | | | llvm-svn: 75714
* Move EVER MORE stuff over to LLVMContext.Owen Anderson2009-07-142-13/+16
| | | | llvm-svn: 75703
* Fix for bugpoint -remote-clientViktor Kutuzov2009-07-141-7/+15
| | | | llvm-svn: 75665
* Reapply my previous asmprinter changes now with more testing and two Chris Lattner2009-07-141-2/+2
| | | | | | | | | | | | | | | | | | | | additional bug fixes: 1. The bug that everyone hit was a problem in the asmprinter where it would remove $stub but keep the L prefix on a name when emitting the indirect symbol. This is easy to fix by keeping the name of the stub and the name of the symbol in a StringMap instead of just keeping a StringSet and trying to reconstruct it late. 2. There was a problem printing the personality function. The current logic to print out the personality function from the DWARF information is a bit of a cesspool right now that duplicates a bunch of other logic in the asm printer. The short version of it is that it depends on emitting both the L and _ prefix for symbols (at least on darwin) and until I can untangle it, it is best to switch the mangler back to emitting both prefixes. llvm-svn: 75646
* Revert r7561{9,8,7,6}, which depend on r75610. Daniel Dunbar2009-07-141-2/+2
| | | | | | | | | | | | | | | | | | --- Reverse-merging r75619 into '.': U lib/Target/DarwinTargetAsmInfo.cpp U lib/CodeGen/AsmPrinter/AsmPrinter.cpp --- Reverse-merging r75618 into '.': U lib/CodeGen/ELFWriter.cpp U lib/CodeGen/MachOCodeEmitter.cpp U lib/CodeGen/MachOWriter.cpp --- Reverse-merging r75617 into '.': U lib/Target/CBackend/CBackend.cpp --- Reverse-merging r75616 into '.': U tools/bugpoint/Miscompilation.cpp U tools/lto/LTOCodeGenerator.cpp U tools/lto/LTOModule.cpp llvm-svn: 75638
* rename getValueName -> getMangledNameChris Lattner2009-07-141-2/+2
| | | | llvm-svn: 75616
* #include "llvm/Assembly/Writer.h" to get the declaration for WriteAsOperand.Dan Gohman2009-07-131-0/+1
| | | | llvm-svn: 75542
* Fix the build.Owen Anderson2009-07-131-0/+1
| | | | llvm-svn: 75536
* Begin the painful process of tearing apart the rat'ss nest that is ↵Owen Anderson2009-07-134-4/+6
| | | | | | | | | 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. llvm-svn: 75445
* Fix unused function warning.Daniel Dunbar2009-07-111-0/+2
| | | | llvm-svn: 75386
* Support remote execute for ARM.David Goodwin2009-07-104-7/+37
| | | | llvm-svn: 75292
* This started as a small change, I swear. Unfortunately, lots of things call ↵Owen Anderson2009-07-091-2/+2
| | | | | | the [I|F]CmpInst constructors. Who knew!? llvm-svn: 75200
* Switch GlobalVariable ctors to a sane API, where *either* a context or a ↵Owen Anderson2009-07-082-10/+9
| | | | | | module is required. llvm-svn: 75025
* Push LLVMContext through GlobalVariables and IRBuilder.Owen Anderson2009-07-082-4/+8
| | | | llvm-svn: 74985
OpenPOWER on IntegriCloud