summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Add DW_AT_declaration for class methods.Devang Patel2009-01-301-2/+5
| | | | llvm-svn: 63356
* Do not forget to derived type while constructing an array type.Devang Patel2009-01-281-0/+2
| | | | llvm-svn: 63233
* Add type DIE into appropriate context DIE.Devang Patel2009-01-271-3/+17
| | | | llvm-svn: 63154
* Assorted debug info fixes.Devang Patel2009-01-271-17/+19
| | | | | | | | - DW_AT_bit_size is only suitable for bitfields. - Encode source location info for derived types. - Source location and type size info is not useful for subroutine_type (info is included in respective DISubprogram) and array_type. llvm-svn: 63077
* Make the Dwarf macro information section optional; CellSPU's assemblerScott Michel2009-01-261-5/+9
| | | | | | | doesn't support it. The default is set to 'true', so this should not impact any other target backends. llvm-svn: 63058
* Introduce two DWARF attribute extentions DW_AT_APPLE_optimized, ↵Devang Patel2009-01-231-0/+5
| | | | | | | | | | | | DW_AT_APPLE_flags. DW_AT_APPLE_optimized flag is set when a compile_unit is optimized. The debugger takes advantage of this information some way. DW_AT_APPLE_flags encodes command line options when certain env. variable is set. This is used by build engineers to track various gcc command lines used by by a project, irrespective of whether the project used makefile, Xcode or something else. llvm-gcc patch is next. llvm-svn: 62888
* Empty DIType represents void. In this case no need to construct any type DIE.Devang Patel2009-01-231-3/+1
| | | | llvm-svn: 62861
* Code did not follow associated comment. not a good idea.Devang Patel2009-01-231-1/+1
| | | | llvm-svn: 62828
* Set appropriate tag for the composite type.Devang Patel2009-01-231-0/+1
| | | | llvm-svn: 62827
* Encode member accessibility.Devang Patel2009-01-211-1/+5
| | | | llvm-svn: 62638
* Appropriately mark fowrad decls.Devang Patel2009-01-201-11/+8
| | | | llvm-svn: 62625
* Fix struct member's debug info.Devang Patel2009-01-201-7/+24
| | | | llvm-svn: 62610
* Need only one set of debug info versions enum.Devang Patel2009-01-201-4/+4
| | | | llvm-svn: 62602
* Fix global variable's address in a DIE.Devang Patel2009-01-201-1/+1
| | | | llvm-svn: 62596
* Enable debug info for enums.Devang Patel2009-01-201-10/+14
| | | | llvm-svn: 62594
* Enable debug info for composite types.Devang Patel2009-01-201-4/+0
| | | | llvm-svn: 62589
* Do not use DenseMap because the iterator is invalidated while constructing ↵Devang Patel2009-01-201-2/+2
| | | | | | types. After all there was a reason why std::map was used initially! llvm-svn: 62555
* Verify debug info.Devang Patel2009-01-191-1/+18
| | | | llvm-svn: 62545
* Remove tabs.Devang Patel2009-01-171-19/+19
| | | | llvm-svn: 62423
* Refactor codeDevang Patel2009-01-171-118/+73
| | | | llvm-svn: 62421
* Assign argument type to appropriate DIE.Devang Patel2009-01-171-2/+2
| | | | llvm-svn: 62412
* Remove dead code.Devang Patel2009-01-171-14/+2
| | | | llvm-svn: 62410
* Disable composite type debug info for now.Devang Patel2009-01-171-0/+3
| | | | llvm-svn: 62406
* Fix comments.Devang Patel2009-01-161-5/+5
| | | | llvm-svn: 62358
* Use lightweight DebugInfo objects directly.Devang Patel2009-01-161-51/+50
| | | | llvm-svn: 62341
* Align source code.Devang Patel2009-01-161-4/+4
| | | | llvm-svn: 62328
* Validate debug info values only if DwarfDebug is initialized.Devang Patel2009-01-161-1/+1
| | | | llvm-svn: 62298
* Any debug info symbol is only valid if atleast one compile unit is seen.Devang Patel2009-01-161-0/+4
| | | | llvm-svn: 62294
* Do not stumble over forward declared struct member. Devang Patel2009-01-161-0/+5
| | | | llvm-svn: 62288
* Validate dbg_* intrinsics before lowering them.Devang Patel2009-01-151-0/+45
| | | | llvm-svn: 62286
* Add the private linkage.Rafael Espindola2009-01-151-1/+2
| | | | llvm-svn: 62279
* Use lightweight DebugInfo objects directly.Devang Patel2009-01-151-82/+65
| | | | llvm-svn: 62276
* Use variable's context to identify respective DbgScope.Devang Patel2009-01-151-11/+25
| | | | | | Use light weight DebugInfo object directly. llvm-svn: 62269
* Do not construct debug scope if RootScope *is* null.Devang Patel2009-01-141-1/+1
| | | | llvm-svn: 62209
* Removoe MachineModuleInfo methods (and related DebugInfoDesc class ↵Devang Patel2009-01-131-741/+9
| | | | | | hierarchy) that were used to handle debug info. llvm-svn: 62199
* Keep "has debug info" big in MachineModuleInfo to avoid circular dependency ↵Devang Patel2009-01-131-0/+1
| | | | | | between AsmPrinter and CodeGen. llvm-svn: 62191
* Undo previous checkin.Devang Patel2009-01-131-6/+0
| | | | llvm-svn: 62190
* Use DwarfWriter to record dbg variables.Devang Patel2009-01-131-0/+6
| | | | llvm-svn: 62185
* Use dwarf writer to decide whether the module has debug info or not.Devang Patel2009-01-131-0/+6
| | | | llvm-svn: 62184
* Start using DebugInfo API to emit debug info.Devang Patel2009-01-131-11/+10
| | | | llvm-svn: 62125
* Emit debug info, only if at least one compile unit is seen.Devang Patel2009-01-121-2/+8
| | | | llvm-svn: 62118
* If multiple compile units are seen then emit them independently. In other ↵Devang Patel2009-01-121-65/+74
| | | | | | | | words, do not force all DIEs into first, whatever it is, compile unit. Note, multiple compile unit support is not well tested (it did not work correctly until now anyway.) llvm-svn: 62116
* Avoid cast<>, use light weith wrapper directly.Devang Patel2009-01-121-3/+3
| | | | llvm-svn: 62115
* Use SrcLineInfo from DwarfWriter. The MachineModuleInfo copy will disappear ↵Devang Patel2009-01-121-12/+9
| | | | | | soon. llvm-svn: 62114
* Add DwarfWriter interface to mainipulate source location info.Devang Patel2009-01-121-45/+91
| | | | | | ( May be this info should be directly handled by the dwarf writer ? ) llvm-svn: 62096
* Clear debug info at the end of function processing.Devang Patel2009-01-121-1/+12
| | | | llvm-svn: 62092
* There is no need to maintain separate labelid list in the dwarf writer. It ↵Devang Patel2009-01-121-36/+5
| | | | | | is not a good idea. llvm-svn: 62090
* Reduce initial small vector sizes.Devang Patel2009-01-101-6/+6
| | | | llvm-svn: 62023
* Fix thinko. Create parent scope if parent descriptor is *not* null.Devang Patel2009-01-101-2/+2
| | | | llvm-svn: 62022
* Convert DwarfWriter into a pass.Devang Patel2009-01-081-12/+13
| | | | | | Now Users request DwarfWriter through getAnalysisUsage() instead of creating an instance of DwarfWriter object directly. llvm-svn: 61955
OpenPOWER on IntegriCloud