Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix these error messages to not mention PATH in cases where | Dan Gohman | 2010-10-29 | 1 | -6/+6 | |
| | | | | | | | PATH isn't actually searched, and to not mention the executable directory when it isn't actually searched. llvm-svn: 117657 | |||||
* | Delete this obsolete comment. | Dan Gohman | 2010-10-29 | 1 | -4/+0 | |
| | | | | llvm-svn: 117655 | |||||
* | tools/llvm-shlib/Makefile: Support for FreeBSD and OpenBSD. | NAKAMURA Takumi | 2010-10-28 | 1 | -1/+4 | |
| | | | | | | | | Thanks to Yuri Gribov and Vladimir Kirillov! *BSD(s) have environ(7) in CRT startup and cannot resolve "environ" at linking llvm.so. environ(7) is used inlib/System/Unix/Program.inc. llvm-svn: 117528 | |||||
* | llvm-mc: Teach -as-lex to print the raw token string as well. | Daniel Dunbar | 2010-10-25 | 1 | -42/+49 | |
| | | | | llvm-svn: 117296 | |||||
* | Resurrect mcc16, it is useful as an example. | Mikhail Glushenkov | 2010-10-23 | 6 | -1/+491 | |
| | | | | llvm-svn: 117198 | |||||
* | Syntax tweak in llvmc: (something [a,b,c]) -> (something a, b, c). | Mikhail Glushenkov | 2010-10-23 | 3 | -51/+54 | |
| | | | | llvm-svn: 117196 | |||||
* | lli: On Cygwin-1.5, lli crashes at invoking destructors in atexit handler. | NAKAMURA Takumi | 2010-10-22 | 1 | -0/+11 | |
| | | | | llvm-svn: 117095 | |||||
* | Record sysbols created by aliases. Fixes PR8414. | Rafael Espindola | 2010-10-20 | 1 | -0/+9 | |
| | | | | llvm-svn: 116910 | |||||
* | Add RegionPass support. | Tobias Grosser | 2010-10-20 | 1 | -0/+38 | |
| | | | | | | | A RegionPass is executed like a LoopPass but on the regions detected by the RegionInfo pass instead of the loops detected by the LoopInfo pass. llvm-svn: 116905 | |||||
* | Get rid of static constructors for pass registration. Instead, every pass ↵ | Owen Anderson | 2010-10-19 | 3 | -0/+36 | |
| | | | | | | | | | | | | | | | | | exposes an initializeMyPassFunction(), which must be called in the pass's constructor. This function uses static dependency declarations to recursively initialize the pass's dependencies. Clients that only create passes through the createFooPass() APIs will require no changes. Clients that want to use the CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h before parsing commandline arguments. I have tested this with all standard configurations of clang and llvm-gcc on Darwin. It is possible that there are problems with the static dependencies that will only be visible with non-standard options. If you encounter any crash in pass registration/creation, please send the testcase to me directly. llvm-svn: 116820 | |||||
* | Hack around incompatible pointer warnings. | Benjamin Kramer | 2010-10-16 | 1 | -1/+5 | |
| | | | | llvm-svn: 116671 | |||||
* | lto: Respect LLVM_VERSION_INFO make variable, since setting CC arguments with | Daniel Dunbar | 2010-10-15 | 1 | -0/+4 | |
| | | | | | | spaces gives tests fits and shell escaping is an art best left to jabberwockies. llvm-svn: 116632 | |||||
* | Forward -march correctly. | Mikhail Glushenkov | 2010-10-14 | 1 | -5/+6 | |
| | | | | | | Also includes some cosmetic changes. llvm-svn: 116475 | |||||
* | Be more consistent in using ValueToValueMapTy. | Rafael Espindola | 2010-10-13 | 4 | -14/+15 | |
| | | | | llvm-svn: 116387 | |||||
* | Per discussion with Sanjiv, remove the PIC16 target from mainline. When/if | Chris Lattner | 2010-10-11 | 6 | -491/+1 | |
| | | | | | | | it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. llvm-svn: 116190 | |||||
* | This file needs ToolOutputFile.h too. | Dan Gohman | 2010-10-07 | 1 | -0/+1 | |
| | | | | llvm-svn: 115976 | |||||
* | Move tool_output_file into its own file. | Dan Gohman | 2010-10-07 | 12 | -11/+12 | |
| | | | | llvm-svn: 115973 | |||||
* | Fix Whitespace. | Michael J. Spencer | 2010-10-07 | 1 | -2/+2 | |
| | | | | llvm-svn: 115959 | |||||
* | Fix warnings on Windows. | Michael J. Spencer | 2010-10-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 115958 | |||||
* | Provide a fast "get me the target triple from the module" API. This can | Bill Wendling | 2010-10-06 | 1 | -9/+4 | |
| | | | | | | | | drastically reduce the linking time during LTO. Patch by Shantonu Sen! llvm-svn: 115728 | |||||
* | Stop the build if cyclic library dependecies found. | Oscar Fuentes | 2010-10-02 | 1 | -1/+4 | |
| | | | | llvm-svn: 115405 | |||||
* | Convert a bunch of uses of 'bytecode' into 'bitcode'. This | Duncan Sands | 2010-09-29 | 1 | -1/+1 | |
| | | | | | | is not everything, but the remaining cases are less trivial. llvm-svn: 115080 | |||||
* | Add a new scope type "LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN" for the | Bill Wendling | 2010-09-27 | 1 | -8/+8 | |
| | | | | | | "linker_private_weak_auto_def" linkage type for LTO. llvm-svn: 114868 | |||||
* | The "linker_private_weak*" linkages should set the LTO_SYMBOL_DEFINITION_WEAK | Bill Wendling | 2010-09-27 | 1 | -1/+3 | |
| | | | | | | during LTO. llvm-svn: 114850 | |||||
* | Push twines deeper into SourceMgr's error handling methods. | Benjamin Kramer | 2010-09-27 | 1 | -0/+1 | |
| | | | | llvm-svn: 114847 | |||||
* | MC/Lexer: Add 'Real' token type for floating point literals. | Daniel Dunbar | 2010-09-24 | 1 | -0/+3 | |
| | | | | llvm-svn: 114718 | |||||
* | Fix llvm-extract -delete's lazy loading to materialize the functions that | Dan Gohman | 2010-09-23 | 1 | -7/+34 | |
| | | | | | | will not be deleted, rather than the ones that will. llvm-svn: 114614 | |||||
* | llvmc: Support '-emit-llvm -S' with -opt. | Mikhail Glushenkov | 2010-09-22 | 1 | -7/+16 | |
| | | | | llvm-svn: 114541 | |||||
* | A more informative output suffix for the opt tool. | Mikhail Glushenkov | 2010-09-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 114540 | |||||
* | llvmc: split llvm_gcc_based into llvm_gcc_{pch,comp}_based. | Mikhail Glushenkov | 2010-09-21 | 1 | -20/+26 | |
| | | | | llvm-svn: 114434 | |||||
* | llvmc: put linker options in a separate OptList. | Mikhail Glushenkov | 2010-09-21 | 1 | -27/+65 | |
| | | | | llvm-svn: 114427 | |||||
* | llvm-mc: Teach -as-lex to print more token kinds. | Daniel Dunbar | 2010-09-16 | 1 | -3/+13 | |
| | | | | llvm-svn: 114051 | |||||
* | Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally." | Michael J. Spencer | 2010-09-13 | 18 | -67/+65 | |
| | | | | | | | | | | This reverts commit r113632 Conflicts: cmake/modules/AddLLVM.cmake llvm-svn: 113819 | |||||
* | Use ParseIRFile to auto-detect LLVM Assembly automatically. | Dan Gohman | 2010-09-13 | 1 | -26/+7 | |
| | | | | llvm-svn: 113765 | |||||
* | CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally. | Michael J. Spencer | 2010-09-10 | 18 | -65/+67 | |
| | | | | llvm-svn: 113632 | |||||
* | Don't build redundant libLLVMgold.a. | NAKAMURA Takumi | 2010-09-10 | 1 | -1/+0 | |
| | | | | | | | Building archive would be executed due to definition of BUILD_ARCHIVE, even if BUILD_ARCHIVE = "0". llvm-svn: 113578 | |||||
* | Discard metadata produced by LLVM 2.7. The value enumeration it used | Dan Gohman | 2010-09-09 | 1 | -0/+6 | |
| | | | | | | | | | | | | | is different from what the code now uses in a two ways: NamedMDNodes were considered Values and included in the numbering, and the function-local metadata counter wasn't reset between functions. The later problem breaks lazy deserialization, so instead of trying to emulate the old numbering, just drop the old metadata. The only in-tree use case is debug info with LTO, where the QOI loss is considered acceptable. llvm-svn: 113557 | |||||
* | Execute all Pass Printers even if -quiet is set. | Tobias Grosser | 2010-09-08 | 1 | -19/+16 | |
| | | | | | | | | | | | | Follow the same logic in the LoopPass, ModulePass and CallGraphSCCPass printers, as it was already used in the BasicBlockPass and FunctionPass printers. This is more consistent. The other option would have been to completely disable dumping the analysis information. However, as this information is the only information printed if the -analysis flag is set, calling opt would not do anything at all. llvm-svn: 113360 | |||||
* | Include original pass name in the PassPrinter's name. | Tobias Grosser | 2010-09-08 | 1 | -10/+36 | |
| | | | | llvm-svn: 113359 | |||||
* | cleanups: mark stuff static, only tagdecls should be in anon namespaces. | Chris Lattner | 2010-09-05 | 1 | -20/+22 | |
| | | | | llvm-svn: 113120 | |||||
* | Quiesce warning about non-virtual d'tor in virtual class. | Bill Wendling | 2010-09-03 | 1 | -2/+2 | |
| | | | | llvm-svn: 112991 | |||||
* | add a new "llvm-dis -show-annotations" option, which causes it to print | Chris Lattner | 2010-09-02 | 1 | -1/+31 | |
| | | | | | | #uses comments, with a testcase. llvm-svn: 112906 | |||||
* | lets get crazy and name the header file the exact class name, | Chris Lattner | 2010-09-02 | 1 | -1/+1 | |
| | | | | | | not a scrunched version of it. llvm-svn: 112904 | |||||
* | AsmPrinter has a formatted stream, pass it down through AsmAnnotationWriter | Chris Lattner | 2010-09-02 | 1 | -4/+7 | |
| | | | | llvm-svn: 112903 | |||||
* | llvmc: .dylib support. | Mikhail Glushenkov | 2010-09-02 | 1 | -1/+2 | |
| | | | | llvm-svn: 112818 | |||||
* | Fix compile errors. | Nick Lewycky | 2010-09-02 | 1 | -4/+4 | |
| | | | | llvm-svn: 112808 | |||||
* | Make tool_output_file's raw_ostream instance a member variable instead | Dan Gohman | 2010-09-01 | 13 | -113/+118 | |
| | | | | | | | | | | of a base class. This makes it possible to unregister the file from FilesToRemove when the file is done. Also, this eliminates the need for formatted_tool_output_file. llvm-svn: 112706 | |||||
* | Cleanup Whitespace. | Michael J. Spencer | 2010-08-31 | 1 | -4/+4 | |
| | | | | llvm-svn: 112587 | |||||
* | Fix llc to run the verifier once, not twice. | Dan Gohman | 2010-08-30 | 1 | -13/+1 | |
| | | | | llvm-svn: 112532 | |||||
* | tidy up | Chris Lattner | 2010-08-28 | 1 | -1/+2 | |
| | | | | llvm-svn: 112385 |