Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Proper MSVC build fix (and remove my hack again). Patch by Yonggang Luo. | Benjamin Kramer | 2009-08-19 | 1 | -7/+2 | |
| | | | | llvm-svn: 79418 | |||||
* | Add a hack to unbreak MSVC builds. str(n)casecmp are POSIX functions and ↵ | Benjamin Kramer | 2009-08-19 | 1 | -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 reproduce | Nick Lewycky | 2009-08-18 | 1 | -0/+1 | |
| | | | | | | the problem. llvm-svn: 79322 | |||||
* | Change bugpoint to use Triple to make runtime decisions. | Daniel Dunbar | 2009-08-18 | 5 | -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 Anderson | 2009-08-13 | 3 | -18/+25 | |
| | | | | llvm-svn: 78948 | |||||
* | Make LLVMContext and LLVMContextImpl classes instead of structs. | Benjamin Kramer | 2009-08-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 78690 | |||||
* | MSVC warning fixes; patch by Stein Roger! | Daniel Dunbar | 2009-08-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 78405 | |||||
* | Privatize the StructType table, which unfortunately involves routing ↵ | Owen Anderson | 2009-08-05 | 1 | -1/+2 | |
| | | | | | | contexts through a number of APIs. llvm-svn: 78258 | |||||
* | Use (void *)(intptr_t) to cast function addresses to void* | Dan Gohman | 2009-08-05 | 1 | -8/+4 | |
| | | | | | | | for use with sys::Path::GetMainExecutable, to avoid warnings with -pedantic. llvm-svn: 78245 | |||||
* | Fix FindExecutable to use sys::Path::GetMainExecutable instead of | Dan Gohman | 2009-08-05 | 5 | -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 Korobeynikov | 2009-08-05 | 1 | -2/+4 | |
| | | | | llvm-svn: 78184 | |||||
* | Add save-temps option to bugpoint to keep temporary stuff. | Anton Korobeynikov | 2009-08-05 | 4 | -6/+14 | |
| | | | | | | Patch by Sandeep Patel llvm-svn: 78183 | |||||
* | Factor some of the constants+context related code out into a separate ↵ | Owen Anderson | 2009-08-04 | 1 | -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 Anderson | 2009-07-31 | 4 | -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 Anderson | 2009-07-30 | 2 | -2/+2 | |
| | | | | llvm-svn: 77635 | |||||
* | Move types back to the 2.5 API. | Owen Anderson | 2009-07-29 | 2 | -5/+4 | |
| | | | | llvm-svn: 77516 | |||||
* | Move ConstantExpr to 2.5 API. | Owen Anderson | 2009-07-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 77494 | |||||
* | Add a bugpoint flag to disable block extraction. | David Goodwin | 2009-07-28 | 1 | -1/+5 | |
| | | | | llvm-svn: 77389 | |||||
* | Change ConstantArray to 2.5 API. | Owen Anderson | 2009-07-28 | 2 | -2/+2 | |
| | | | | llvm-svn: 77347 | |||||
* | Pass true to the Internalize parameter of createStandardLTOPasses, | Dan Gohman | 2009-07-27 | 1 | -1/+1 | |
| | | | | | | to match llvm-ld's default behavior. llvm-svn: 77273 | |||||
* | Move ConstantStruct back to 2.5 API. | Owen Anderson | 2009-07-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 77266 | |||||
* | Remove Value::setName(const char*, unsigned). | Daniel Dunbar | 2009-07-26 | 1 | -2/+2 | |
| | | | | llvm-svn: 77100 | |||||
* | Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵ | Owen Anderson | 2009-07-24 | 1 | -1/+1 | |
| | | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011 | |||||
* | Switch to getNameStr(). | Daniel Dunbar | 2009-07-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 76962 | |||||
* | Get rid of the Pass+Context magic. | Owen Anderson | 2009-07-22 | 2 | -2/+2 | |
| | | | | llvm-svn: 76702 | |||||
* | 80 col violation. | Evan Cheng | 2009-07-21 | 1 | -9/+9 | |
| | | | | llvm-svn: 76629 | |||||
* | For remote execution, must cd to the executable directory since the exe ↵ | David Goodwin | 2009-07-20 | 1 | -3/+4 | |
| | | | | | | expects to find a dylib in the CWD ('.'). llvm-svn: 76432 | |||||
* | Add -std-{compile,link}-opts to bugpoint. | Daniel Dunbar | 2009-07-20 | 1 | -0/+40 | |
| | | | | | | - Sheesh. llvm-svn: 76402 | |||||
* | fix test | Chris Lattner | 2009-07-19 | 1 | -1/+2 | |
| | | | | llvm-svn: 76378 | |||||
* | DisambiguateGlobalSymbols should not mangle intrinsics. | Chris Lattner | 2009-07-19 | 1 | -2/+2 | |
| | | | | llvm-svn: 76377 | |||||
* | Require a remote command to exit with the exit status of the test program or ↵ | Viktor Kutuzov | 2009-07-18 | 1 | -11/+59 | |
| | | | | | | with 255 if an error occurred. llvm-svn: 76323 | |||||
* | Convert more tools code from cerr and cout to errs() and outs(). | Dan Gohman | 2009-07-16 | 9 | -181/+174 | |
| | | | | llvm-svn: 76070 | |||||
* | To simplify the upcoming context-on-type change, switch all command line ↵ | Owen Anderson | 2009-07-15 | 1 | -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 opening | Dan Gohman | 2009-07-15 | 1 | -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 Gohman | 2009-07-15 | 9 | -127/+129 | |
| | | | | llvm-svn: 75791 | |||||
* | eliminate the Mangler::PreserveAsmNames bit, the sole client of this | Chris Lattner | 2009-07-15 | 1 | -5/+10 | |
| | | | | | | can do it perfectly well itself. llvm-svn: 75743 | |||||
* | control reaches end of non-void function. | Evan Cheng | 2009-07-14 | 1 | -0/+2 | |
| | | | | llvm-svn: 75714 | |||||
* | Move EVER MORE stuff over to LLVMContext. | Owen Anderson | 2009-07-14 | 2 | -13/+16 | |
| | | | | llvm-svn: 75703 | |||||
* | Fix for bugpoint -remote-client | Viktor Kutuzov | 2009-07-14 | 1 | -7/+15 | |
| | | | | llvm-svn: 75665 | |||||
* | Reapply my previous asmprinter changes now with more testing and two | Chris Lattner | 2009-07-14 | 1 | -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 Dunbar | 2009-07-14 | 1 | -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 -> getMangledName | Chris Lattner | 2009-07-14 | 1 | -2/+2 | |
| | | | | llvm-svn: 75616 | |||||
* | #include "llvm/Assembly/Writer.h" to get the declaration for WriteAsOperand. | Dan Gohman | 2009-07-13 | 1 | -0/+1 | |
| | | | | llvm-svn: 75542 | |||||
* | Fix the build. | Owen Anderson | 2009-07-13 | 1 | -0/+1 | |
| | | | | llvm-svn: 75536 | |||||
* | Begin the painful process of tearing apart the rat'ss nest that is ↵ | Owen Anderson | 2009-07-13 | 4 | -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 Dunbar | 2009-07-11 | 1 | -0/+2 | |
| | | | | llvm-svn: 75386 | |||||
* | Support remote execute for ARM. | David Goodwin | 2009-07-10 | 4 | -7/+37 | |
| | | | | llvm-svn: 75292 | |||||
* | This started as a small change, I swear. Unfortunately, lots of things call ↵ | Owen Anderson | 2009-07-09 | 1 | -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 Anderson | 2009-07-08 | 2 | -10/+9 | |
| | | | | | | module is required. llvm-svn: 75025 | |||||
* | Push LLVMContext through GlobalVariables and IRBuilder. | Owen Anderson | 2009-07-08 | 2 | -4/+8 | |
| | | | | llvm-svn: 74985 |