| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix a FIXME: DwarfRequiresRelocationForSectionOffset is the same as | Rafael Espindola | 2012-06-22 | 1 | -1/+1 |
| | | | | | | | DwarfUsesRelocationsAcrossSections. llvm-svn: 158992 | ||||
| * | Emit relocations for DW_AT_location entries on systems which need it. This is | Nick Lewycky | 2012-06-22 | 1 | -4/+8 |
| | | | | | | | a recommit of r127757. Fixes PR9493. Patch by Paul Robinson! llvm-svn: 158957 | ||||
| * | Allocate the contents of DwarfDebug's StringMaps in a single big ↵ | Benjamin Kramer | 2012-06-09 | 1 | -0/+1 |
| | | | | | | | BumpPtrAllocator. llvm-svn: 158265 | ||||
| * | Switch all register list clients to the new MC*Iterator interface. | Jakob Stoklund Olesen | 2012-06-01 | 1 | -2/+3 |
| | | | | | | | | | | | | | | No functional change intended. Sorry for the churn. The iterator classes are supposed to help avoid giant commits like this one in the future. The TableGen-produced register lists are getting quite large, and it may be necessary to change the table representation. This makes it possible to do so without changing all clients (again). llvm-svn: 157854 | ||||
| * | Remove duplicate code that we could just fallthrough to. | Eric Christopher | 2012-05-18 | 1 | -1/+0 |
| | | | | | llvm-svn: 157060 | ||||
| * | Fix thinko in conditional. | Eric Christopher | 2012-05-08 | 1 | -1/+1 |
| | | | | | | | Part of rdar://11352000 and should bring the buildbots back. llvm-svn: 156421 | ||||
| * | Handle OpDeref in case it comes in as a register operand. | Eric Christopher | 2012-05-08 | 1 | -3/+5 |
| | | | | | | | Part of rdar://11352000 llvm-svn: 156405 | ||||
| * | Patch to set is_stmt a little better for prologue lines in a function. | Eric Christopher | 2012-04-05 | 1 | -2/+5 |
| | | | | | | | | | | This enables debuggers to see what are interesting lines for a breakpoint rather than any line that starts a function. rdar://9852092 llvm-svn: 154120 | ||||
| * | Fix thinko check for number of operands to be the one that actually | Eric Christopher | 2012-04-03 | 1 | -1/+1 |
| | | | | | | | | | | might have more than 19 operands. Add a testcase to make sure I never screw that up again. Part of rdar://11026482 llvm-svn: 153961 | ||||
| * | Add a line number for the scope of the function (starting at the first | Eric Christopher | 2012-04-03 | 1 | -3/+10 |
| | | | | | | | | | | | brace) so that we get more accurate line number information about the declaration of a given function and the line where the function first starts. Part of rdar://11026482 llvm-svn: 153916 | ||||
| * | Turn on the accelerator tables for Darwin. | Eric Christopher | 2012-04-02 | 1 | -0/+6 |
| | | | | | llvm-svn: 153880 | ||||
| * | Use DW_AT_low_pc for a single entry point into a routine. | Eric Christopher | 2012-03-27 | 1 | -3/+3 |
| | | | | | | | Fixes PR10105 llvm-svn: 153524 | ||||
| * | Use the file in the inlined die rather than the compile unit for | Eric Christopher | 2012-03-26 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | backtrace locations. Testcase forthcoming, but I wanted to get some testing here. Should fix: PR12323 PR12314 rdar://11091100 llvm-svn: 153471 | ||||
| * | DwarfDebug: Store the filename/dirname pair as a zero-separated string in a ↵ | Benjamin Kramer | 2012-03-11 | 1 | -11/+10 |
| | | | | | | | stringmap, instead of using a highly inefficient std::map of a pair of std::strings. llvm-svn: 152541 | ||||
| * | Use uint16_t to store register overlaps to reduce static data. | Craig Topper | 2012-03-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 152001 | ||||
| * | Grammar-o in function name. | Eric Christopher | 2012-03-02 | 1 | -2/+2 |
| | | | | | llvm-svn: 151875 | ||||
| * | If the linkage name doesn't exist we're supposed to emit a reference | Eric Christopher | 2012-03-02 | 1 | -4/+3 |
| | | | | | | | to the string table for the function name, not the function name. llvm-svn: 151873 | ||||
| * | Revert "Reorder the sections being output to reduce the number of assembler" | Eric Christopher | 2012-03-02 | 1 | -3/+3 |
| | | | | | | | | | | The inline table needs to be constructed ahead of time so that it doesn't try to create new strings while we're emitting everything. This reverts commit a8ff9bccb399183cdd5f1c3cec2bda763664b4b0. llvm-svn: 151864 | ||||
| * | Reorder the sections being output to reduce the number of assembler | Eric Christopher | 2012-03-01 | 1 | -3/+3 |
| | | | | | | | | | | fixups that are being used to determine section offsets. Reduces the total number of fixups by 50% for a non-trivial testcase. Part of rdar://10413936 llvm-svn: 151852 | ||||
| * | Minimal changes for LLVM to compile under VS11. | Michael J. Spencer | 2012-03-01 | 1 | -1/+1 |
| | | | | | llvm-svn: 151849 | ||||
| * | Add the source language into the compile unit. | Eric Christopher | 2012-02-22 | 1 | -1/+1 |
| | | | | | llvm-svn: 151143 | ||||
| * | Convert assert(0) to llvm_unreachable | Craig Topper | 2012-02-05 | 1 | -5/+3 |
| | | | | | llvm-svn: 149816 | ||||
| * | Remove generation of DW_AT_sibling. Nothing as far as I can tell uses it. | Eric Christopher | 2012-01-24 | 1 | -7/+0 |
| | | | | | | | | | Saves about 1.5% on debug info size. rdar://10278198 llvm-svn: 148794 | ||||
| * | Use const vector references instead of a vector copy. Spotted by Devang. | Eric Christopher | 2012-01-06 | 1 | -4/+4 |
| | | | | | llvm-svn: 147694 | ||||
| * | As part of the ongoing work in finalizing the accelerator tables, extend | Eric Christopher | 2012-01-06 | 1 | -8/+15 |
| | | | | | | | | | | the debug type accelerator tables to contain the tag and a flag stating whether or not a compound type is a complete type. rdar://10652330 llvm-svn: 147651 | ||||
| * | Extraneous whitespace and 80-col. | Eric Christopher | 2011-12-16 | 1 | -3/+2 |
| | | | | | llvm-svn: 146780 | ||||
| * | Add inline subprogram names to the name lookup table since they may | Eric Christopher | 2011-12-04 | 1 | -0/+4 |
| | | | | | | | not get there any other way. llvm-svn: 145789 | ||||
| * | Move global variables in TargetMachine into new TargetOptions class. As an API | Nick Lewycky | 2011-12-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | change, now you need a TargetOptions object to create a TargetMachine. Clang patch to follow. One small functionality change in PTX. PTX had commented out the machine verifier parts in their copy of printAndVerify. That now calls the version in LLVMTargetMachine. Users of PTX who need verification disabled should rely on not passing the command-line flag to enable it. llvm-svn: 145714 | ||||
| * | The dwarf standard says that the only differences between a out-of-line | Rafael Espindola | 2011-11-12 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | instance and a concrete inlined instance are the use of DW_TAG_subprogram instead of DW_TAG_inlined_subroutine and the who owns the tree. We were also omitting DW_AT_inline from the abstract roots. To fix this, make sure we mark abstract instance roots with DW_AT_inline even when we have only out-of-line instances referring to them with DW_AT_abstract_origin. FileCheck is not a very good tool for tests like this, maybe we should add a -verify mode to llvm-dwarfdump. llvm-svn: 144441 | ||||
| * | Check in getOrCreateSubprogramDIE if a declaration exists and if so output | Rafael Espindola | 2011-11-10 | 1 | -12/+0 |
| | | | | | | | | | it first. This is a more general fix to pr11300. llvm-svn: 144324 | ||||
| * | Make types and namespaces take multiple DIEs for the accelerator tables | Eric Christopher | 2011-11-10 | 1 | -8/+12 |
| | | | | | | | as well. llvm-svn: 144319 | ||||
| * | Rework adding function names to the dwarf accelerator tables, allow | Eric Christopher | 2011-11-10 | 1 | -67/+71 |
| | | | | | | | multiple dies per function and support C++ basenames. llvm-svn: 144304 | ||||
| * | Add comments. | Benjamin Kramer | 2011-11-09 | 1 | -1/+2 |
| | | | | | llvm-svn: 144194 | ||||
| * | Take advantage of the zero byte in StringMap when emitting dwarf stringpool ↵ | Benjamin Kramer | 2011-11-09 | 1 | -2/+3 |
| | | | | | | | entries. llvm-svn: 144184 | ||||
| * | Remove the pubnames section, no one consumes it. | Eric Christopher | 2011-11-09 | 1 | -58/+0 |
| | | | | | llvm-svn: 144169 | ||||
| * | Also add the linkage name to the name accelerator tables if it exists | Eric Christopher | 2011-11-08 | 1 | -2/+14 |
| | | | | | | | and is different than the normal name. llvm-svn: 144130 | ||||
| * | Add the base ObjC method name to the names lookup table as well. | Eric Christopher | 2011-11-08 | 1 | -0/+6 |
| | | | | | llvm-svn: 144105 | ||||
| * | Add all completed and named types to the dwarf type accelerator tables. | Eric Christopher | 2011-11-07 | 1 | -2/+1 |
| | | | | | llvm-svn: 144027 | ||||
| * | Use StringRef::startswith to do some string comparisons. | Eric Christopher | 2011-11-07 | 1 | -5/+2 |
| | | | | | llvm-svn: 143982 | ||||
| * | Allow for the case where the name of the subprogram is "". | Eric Christopher | 2011-11-07 | 1 | -0/+1 |
| | | | | | | | Fixes a self-host error. llvm-svn: 143970 | ||||
| * | Remove unnecessary addition to API. Replace with something much simpler. | Eric Christopher | 2011-11-07 | 1 | -8/+0 |
| | | | | | llvm-svn: 143925 | ||||
| * | Add the support code to enable the dwarf accelerator tables. Upcoming patches | Eric Christopher | 2011-11-07 | 1 | -0/+168 |
| | | | | | | | | | to fix the types section (all types, not just global types), and testcases. The code to do the final emission is disabled by default. llvm-svn: 143923 | ||||
| * | Expose a way to get the beginning of the dwarf string section. | Eric Christopher | 2011-11-07 | 1 | -12/+19 |
| | | | | | llvm-svn: 143920 | ||||
| * | Fix up comment. | Eric Christopher | 2011-11-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 143919 | ||||
| * | Emit declarations before definitions if they are available. This causes ↵ | Rafael Espindola | 2011-11-04 | 1 | -6/+18 |
| | | | | | | | | | DW_AT_specification to point back in the file in the included testcase. Fixes PR11300. llvm-svn: 143726 | ||||
| * | Don't emit a directory entry for the value in DW_AT_comp_dir, that is always | Nick Lewycky | 2011-11-02 | 1 | -4/+8 |
| | | | | | | | implied by directory index zero. llvm-svn: 143570 | ||||
| * | Teach our Dwarf emission to use the string pool. | Nick Lewycky | 2011-10-27 | 1 | -6/+9 |
| | | | | | llvm-svn: 143097 | ||||
| * | Reflow lines, fix comments for doxygen style, fix whitespace. No functionality | Nick Lewycky | 2011-10-26 | 1 | -15/+11 |
| | | | | | | | change. llvm-svn: 143074 | ||||
| * | Minor style cleanup, no functionality change. | Nick Lewycky | 2011-10-17 | 1 | -3/+2 |
| | | | | | llvm-svn: 142307 | ||||
| * | Add support for a new extension to the .file directive: | Nick Lewycky | 2011-10-17 | 1 | -15/+13 |
| | | | | | | | | | | | .file filenumber "directory" "filename" This removes one join+split of the directory+filename in MC internals. Because bitcode files have independent fields for directory and filenames in debug info, this patch may change the .o files written by existing .bc files. llvm-svn: 142300 | ||||

