Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | lib/CodeGen/AsmPrinter/CMakeLists.txt: Fix CMake build, following up to r127099. | NAKAMURA Takumi | 2011-03-06 | 1 | -0/+1 | |
| | | | | llvm-svn: 127114 | |||||
* | Some first rudimentary support for ARM EHABI: print exception table in "text ↵ | Anton Korobeynikov | 2011-03-05 | 3 | -0/+122 | |
| | | | | | | mode". llvm-svn: 127099 | |||||
* | Fix typo. | Devang Patel | 2011-03-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 126962 | |||||
* | Fix thinko in previous check-in. | Devang Patel | 2011-03-03 | 1 | -1/+3 | |
| | | | | | | Add comment. llvm-svn: 126959 | |||||
* | llvm::Function argument count is not a good indicator of how many arugments ↵ | Devang Patel | 2011-03-03 | 1 | -1/+4 | |
| | | | | | | does the function have at source level. If we need more space, just resize vector conservatively. This vector is only used once per function. llvm-svn: 126957 | |||||
* | If argument numbering is encoded in metadata then emit arguments' debug info ↵ | Devang Patel | 2011-03-01 | 2 | -4/+42 | |
| | | | | | | in that order. llvm-svn: 126794 | |||||
* | Roll out r126425 and r126450 to see if it fixes the failures on the buildbots. | Cameron Zwarich | 2011-02-25 | 5 | -72/+5 | |
| | | | | llvm-svn: 126488 | |||||
* | Remove dead variable. | Nick Lewycky | 2011-02-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 126450 | |||||
* | Enable DebugInfo support for COFF object files. | Devang Patel | 2011-02-24 | 5 | -4/+71 | |
| | | | | | | Patch by Nathan Jeffords! llvm-svn: 126425 | |||||
* | Do not use DIFactory. | Devang Patel | 2011-02-24 | 1 | -3/+4 | |
| | | | | llvm-svn: 126397 | |||||
* | Use DW_FORM_data2 for DW_AT_language and let users use ↵ | Devang Patel | 2011-02-23 | 1 | -1/+1 | |
| | | | | | | DW_LANG_lo_user=0x8000 to DW_LANG_hi_user=0xffff range. llvm-svn: 126339 | |||||
* | Omit private_extern declarations of extern symbols; followup to | Stuart Hastings | 2011-02-23 | 1 | -3/+7 | |
| | | | | | | r124468. Patch by Rafael Avila de Espindola! llvm-svn: 126297 | |||||
* | Do not emit empty DW_TAG_lexical_block DIEs. In one test case, size of ↵ | Devang Patel | 2011-02-19 | 1 | -17/+20 | |
| | | | | | | debug info reduced by almost 7%. llvm-svn: 126009 | |||||
* | Ignore DBG_VALUE machine instructions while constructing instruction ranges ↵ | Devang Patel | 2011-02-15 | 1 | -0/+4 | |
| | | | | | | | | based on location info. Machine instruction range consisting of only DBG_VALUE MIs only contributes consecutive labels in assembly output, which is harmless, and empty scope entry in DebugInfo, which confuses debugger tools. llvm-svn: 125577 | |||||
* | Spelling fix: consequtive -> consecutive. | Duncan Sands | 2011-02-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 125563 | |||||
* | Assert on bad jump tables. | Jakob Stoklund Olesen | 2011-02-09 | 1 | -0/+1 | |
| | | | | llvm-svn: 125225 | |||||
* | Merge .debug_loc entries whenever possible to reduce debug_loc size. | Devang Patel | 2011-02-04 | 2 | -15/+32 | |
| | | | | llvm-svn: 124904 | |||||
* | Add support to describe template value parameter in debug info. | Devang Patel | 2011-02-02 | 2 | -0/+25 | |
| | | | | llvm-svn: 124755 | |||||
* | Add support to describe template parameter type in debug info. | Devang Patel | 2011-02-02 | 2 | -0/+32 | |
| | | | | llvm-svn: 124752 | |||||
* | Clarify the LSDASection NULL check | Anton Korobeynikov | 2011-01-30 | 1 | -0/+2 | |
| | | | | llvm-svn: 124569 | |||||
* | Print the visibility of declarations. | Rafael Espindola | 2011-01-28 | 1 | -1/+14 | |
| | | | | llvm-svn: 124468 | |||||
* | Support printing exception section into the current one. This is the case ↵ | Anton Korobeynikov | 2011-01-24 | 1 | -1/+2 | |
| | | | | | | when LSDASection is blank llvm-svn: 124150 | |||||
* | Fix debug info for merged global. | Devang Patel | 2011-01-20 | 1 | -0/+39 | |
| | | | | llvm-svn: 123862 | |||||
* | Fix register address expression. Patch by Ken Dyck. | Devang Patel | 2011-01-19 | 1 | -4/+2 | |
| | | | | llvm-svn: 123856 | |||||
* | Update CMake build. | Ted Kremenek | 2011-01-14 | 1 | -0/+2 | |
| | | | | llvm-svn: 123491 | |||||
* | Add a possibility to switch between CFI directives- and table-based frame ↵ | Anton Korobeynikov | 2011-01-14 | 4 | -11/+16 | |
| | | | | | | description emission. Currently all the backends use table-based stuff. llvm-svn: 123476 | |||||
* | Add CFI directives-based frame information emission. Not hooked yet. | Anton Korobeynikov | 2011-01-14 | 3 | -0/+209 | |
| | | | | llvm-svn: 123474 | |||||
* | Split stuff as a preparation for CFI directives-based frame information emission | Anton Korobeynikov | 2011-01-14 | 4 | -356/+440 | |
| | | | | llvm-svn: 123473 | |||||
* | Appropriately truncate debug info range in dwarf output. | Devang Patel | 2011-01-11 | 1 | -15/+5 | |
| | | | | | | This is not yet completely enabled. llvm-svn: 123274 | |||||
* | Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs ↵ | Anton Korobeynikov | 2011-01-10 | 3 | -12/+12 | |
| | | | | | | and fixes here and there. llvm-svn: 123170 | |||||
* | Do not model all INLINEASM instructions as having unmodelled side effects. | Evan Cheng | 2011-01-07 | 1 | -1/+1 | |
| | | | | | | | | | | Instead encode llvm IR level property "HasSideEffects" in an operand (shared with IsAlignStack). Added MachineInstrs::hasUnmodeledSideEffects() to check the operand when the instruction is an INLINEASM. This allows memory instructions to be moved around INLINEASM instructions. llvm-svn: 123044 | |||||
* | Speculatively revert r123032. | Devang Patel | 2011-01-07 | 1 | -5/+15 | |
| | | | | llvm-svn: 123039 | |||||
* | Appropriately truncate debug info range in dwarf output. | Devang Patel | 2011-01-07 | 1 | -15/+5 | |
| | | | | | | Enable live debug variables pass. llvm-svn: 123032 | |||||
* | Emit 128 bit constant. | Devang Patel | 2011-01-06 | 2 | -10/+38 | |
| | | | | | | This fixes PR 8913 crash. llvm-svn: 122971 | |||||
* | split dom frontier handling stuff out to its own DominanceFrontier header, | Chris Lattner | 2011-01-02 | 1 | -0/+1 | |
| | | | | | | so that Dominators.h is *just* domtree. Also prune #includes a bit. llvm-svn: 122714 | |||||
* | Add missing standard headers. Patch by Joerg Sonnenberger! | Nick Lewycky | 2010-12-19 | 1 | -0/+1 | |
| | | | | llvm-svn: 122193 | |||||
* | remove the verbose-asm "constant pool double" comments that we were printing | Chris Lattner | 2010-12-13 | 1 | -8/+0 | |
| | | | | | | | | | | | for each constant pool entry. Using WriteTypeSymbolic here takes time proportional to the size of the module, for each constant pool entry. This speeds up -verbose-asm llc on 252.eon (a random testcase at my disposal) from 4.4s to 2.137s. llc takes 2.11s with asm-verbose off, so this is now a pretty reasonable cost for verbose comments. llvm-svn: 121691 | |||||
* | DW_FORM_data1 may not provide sufficient room for vtable index, use _udata ↵ | Devang Patel | 2010-12-09 | 1 | -1/+1 | |
| | | | | | | | | instead. This fixes radar 8730409. llvm-svn: 121323 | |||||
* | Undefined value in reg 0 may need a marker to identify end of source range. | Devang Patel | 2010-12-06 | 1 | -4/+2 | |
| | | | | | | This will be used to truncate live range of DBG_VALUE instruction by register allocator and friends. llvm-svn: 121061 | |||||
* | Second try at making direct object emission produce the same results | Rafael Espindola | 2010-12-06 | 1 | -1/+1 | |
| | | | | | | | as llc + llvm-mc. This time ELF is not changed and I tested that llvm-gcc bootstrap on darwin10 using darwin9's assembler and linker. llvm-svn: 121006 | |||||
* | Revert previous two patches while I try to find out how to make both | Rafael Espindola | 2010-12-06 | 1 | -1/+1 | |
| | | | | | | linux and darwin assemblers happy :-( llvm-svn: 121004 | |||||
* | Add an EmitAbsValue helper method and use it in cases where we want to be sure | Rafael Espindola | 2010-12-06 | 1 | -1/+1 | |
| | | | | | | | that no relocations are used (on MochO). Fixes llc producing different output from llc + llvm-mc. llvm-svn: 121000 | |||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 120298 | |||||
* | Move some more hooks to TargetFrameInfo | Anton Korobeynikov | 2010-11-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 119904 | |||||
* | Move getInitialFrameState() to TargetFrameInfo | Anton Korobeynikov | 2010-11-18 | 2 | -2/+4 | |
| | | | | llvm-svn: 119754 | |||||
* | Change CodeGen to use .loc directives. This produces a lot more readable output | Rafael Espindola | 2010-11-18 | 2 | -324/+23 | |
| | | | | | | | | and testing is easier. A good example is the unknown-location.ll test that now can just look for ".loc 1 0 0". We also don't use a DW_LNE_set_address for every address change anymore. llvm-svn: 119613 | |||||
* | With the newly simplified SourceMgr interfaces and the generalized | Chris Lattner | 2010-11-17 | 1 | -3/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SrcMgrDiagHandler, we can improve clang diagnostics for inline asm: instead of reporting them on a source line of the original line, we can report it on the correct line wherever the string literal came from. For something like this: void foo() { asm("push %rax\n" ".code32\n"); } we used to get this: (note that the line in t.c isn't helpful) t.c:4:7: error: warning: ignoring directive for now asm("push %rax\n" ^ <inline asm>:2:1: note: instantiated into assembly here .code32 ^ now we get: t.c:5:8: error: warning: ignoring directive for now ".code32\n" ^ <inline asm>:2:1: note: instantiated into assembly here .code32 ^ Note that we're pointing to line 5 properly now. llvm-svn: 119488 | |||||
* | now that AsmPrinter::EmitInlineAsm is factored right, we can eliminate the | Chris Lattner | 2010-11-17 | 1 | -9/+5 | |
| | | | | | | | | cookie argument to the SourceMgr diagnostic stuff. This cleanly separates LLVMContext's inlineasm handler from the sourcemgr error handling definition, increasing type safety and cleaning things up. llvm-svn: 119486 | |||||
* | rearrange how the handler in SourceMgr is installed, eliminating the use of | Chris Lattner | 2010-11-17 | 1 | -8/+35 | |
| | | | | | | the cookie argument to setDiagHandler llvm-svn: 119483 | |||||
* | refactor the interface to EmitInlineAsm a bit, no functionality change. | Chris Lattner | 2010-11-17 | 2 | -11/+18 | |
| | | | | llvm-svn: 119482 |