summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DIE.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* DW_AT_stmt_list attribute attached with a compile unit encodes offset of ↵Devang Patel2010-03-221-25/+0
| | | | | | line number information for this compile unit in debug_line section. This offset is always zero when only one compile unit is emitted in a object file. llvm-svn: 99223
* Fix a memory leak from DIE::addSiblingOffset() by adding the DIEValueJeffrey Yasskin2010-03-221-1/+2
| | | | | | it allocates to DwarfDebug::DIEValues. llvm-svn: 99196
* inline away a form of IsPCRelative, eliminating the Chris Lattner2010-03-101-1/+2
| | | | | | dead IsPCRel argument. llvm-svn: 98117
* eliminate a bunch of \n's that are being printed to O. Next up is to killChris Lattner2010-03-091-11/+6
| | | | | | off "EOL". llvm-svn: 98102
* simplify EmitSectionOffset to always use .set if it isChris Lattner2010-03-081-2/+2
| | | | | | | | | available, the only thing this affects is that we produce .set in one case we didn't before, which shouldn't harm anything. Make EmitSectionOffset call EmitDifference instead of duplicating it. llvm-svn: 98005
* merge DIEObjectLabel and DIEDwarfLabel into DIELabel.Chris Lattner2010-03-081-28/+4
| | | | | | Yes, DIE you fiendish labels, die all of you. llvm-svn: 97995
* elimiante the DWLabel class, using MCSymbol instead. Start Chris Lattner2010-03-081-14/+5
| | | | | | | switching some stuff over to passing around MCSymbol* instead of stem+ID. llvm-svn: 97993
* Fix to get it to compile.Bill Wendling2010-02-111-1/+1
| | | | llvm-svn: 95840
* Don't print out a default newline when emitting the section offset. There areBill Wendling2010-02-111-0/+1
| | | | | | almost always comments afterwards that need printing. llvm-svn: 95839
* remove one form of EmitString, just use EmitBytes instead. We mustChris Lattner2010-01-231-1/+3
| | | | | | | be careful to add a \0 at the end though, because EmitString didn't do this. llvm-svn: 94277
* move uleb printing from asmprinter to dwarfprinter, mcize,Chris Lattner2010-01-221-13/+15
| | | | | | cleanup and eliminate a bunch more uses of "EOL". llvm-svn: 94250
* move sleb printing out of asmprinter into dwarf printer, make clientsChris Lattner2010-01-221-1/+1
| | | | | | handle the comment better, MCize the non-.sleb case. llvm-svn: 94244
* rename the dwarf class to DwarfPrinter. This matches the filenameChris Lattner2010-01-221-8/+8
| | | | | | and much more accurately describes what it is all about. llvm-svn: 94233
* inline away the trivial AsmPrinter::EOL() method.Chris Lattner2010-01-221-1/+2
| | | | llvm-svn: 94230
* eliminate some uses of AsmPrinter::EmitIntXXXChris Lattner2010-01-201-6/+9
| | | | llvm-svn: 93996
* Switch some functions to take Twines, eliminate uses of StringExtras.h.Benjamin Kramer2010-01-171-0/+1
| | | | llvm-svn: 93680
* Change DIEObjectLabel to take an MCSymbol instead of std::string.Chris Lattner2010-01-161-2/+3
| | | | llvm-svn: 93647
* Change errs() to dbgs().David Greene2009-12-241-3/+4
| | | | llvm-svn: 92094
* Cosmetic changes, which were long overdue, in DwarfDebug.cpp.Devang Patel2009-11-211-2/+2
| | | | llvm-svn: 89537
* There is no need to use FoldingSet to unique DIEs. Devang Patel2009-11-211-98/+0
| | | | | | DIEs are created from MDNode, which are already uniqued. And DwarfDebug already uses ValueMaps to find and use existing DIE for a given MDNode. llvm-svn: 89518
* convert the DIE printing stuff to use raw_ostream instead of std::ostream.Chris Lattner2009-08-231-20/+20
| | | | | | Tweak #includes. llvm-svn: 79800
* Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.Chris Lattner2009-08-221-4/+4
| | | | llvm-svn: 79763
* llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin2009-07-141-4/+4
| | | | | | | | | This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640
* assert(0) -> LLVM_UNREACHABLE.Torok Edwin2009-07-111-4/+5
| | | | | | | | | Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379
* Down with _even more_ statics!Owen Anderson2009-06-241-1/+0
| | | | llvm-svn: 74137
* Split out the Dwarf writer stuff into separate files. This is a much moreBill Wendling2009-05-151-0/+518
logical/sane approach to organizing all of the stuff that goes into writing out DWARF information. Honestly? even this is too complex for what it's supposed to be doing. Trivia: It *looks* like there would be functionality changes, however there aren't! llvm-svn: 71821
OpenPOWER on IntegriCloud