summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFDebugFrame.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Code cleanup: pass Offset by pointer to parseInstruction to more explicitlyEli Bendersky2013-02-221-29/+33
| | | | | | | convey that it's a INOUT argument. Also, if parsing of entry instructions fails, don't push the entry. llvm-svn: 175847
* Previously, parsing capability of the .debug_frame section was addedEli Bendersky2013-02-211-6/+170
| | | | | | | | | | | | | | | | to lib/DebugInfo, with dumping in llvm-dwarfdump. This patch adds initial ability to parse and dump CFA instructions contained in entries. To keep it manageable, the patch omits some more advanced capabilities (accounted in TODOs): * Parsing of instructions with BLOCK arguments (expression lists) * Dumping of actual instruction arguments (currently only names are dumped). This is quite tricky since the dumper has to effectively "interpret" the instructions. llvm-svn: 175820
* Make helpers static. Add missing include so LLVMInitializeObjCARCOpts gets C ↵Benjamin Kramer2013-02-151-1/+2
| | | | | | linkage. llvm-svn: 175264
* The patch to fix some issues in r174543 fixed the lines failing the test, ↵David Tweed2013-02-081-3/+3
| | | | | | | | | but missed a couple of lines which weren't being explicitly looked at and were printing incorrect results. These values clearly must lie within 32 bits, so the casts are definitely safe. llvm-svn: 174717
* FDE::dumpHeader(): Forgot to fix one more formatting, ... take two!NAKAMURA Takumi2013-02-071-2/+2
| | | | | | Excuse me, I could not test it locally. llvm-svn: 174614
* FDE::dumpHeader(): Forgot to fix one more formatting. It affected bigendian ↵NAKAMURA Takumi2013-02-071-2/+3
| | | | | | hosts. llvm-svn: 174602
* DWARFDebugFrame.cpp: Fix formatting on i686 hosts.NAKAMURA Takumi2013-02-071-3/+6
| | | | | FIXME: Are they really truncated to i32 from i64 unconditionally? llvm-svn: 174574
* Add some comments to new frame entriesEli Bendersky2013-02-061-0/+4
| | | | llvm-svn: 174515
* Failing builds because a private class member is not being used afterEli Bendersky2013-02-061-0/+3
| | | | | | initialization is one of the reasons I consider -werror to be shoddy. llvm-svn: 174485
* Add virtual desctructor to FrameEntry to avoid error on delete-non-virtual-dtorEli Bendersky2013-02-061-0/+9
| | | | llvm-svn: 174483
* Fix some formatting & add comments, following Eric's reviewEli Bendersky2013-02-061-12/+19
| | | | llvm-svn: 174473
* Initial support for DWARF CFI parsing and dumping in LLVMEli Bendersky2013-02-051-0/+195
llvm-svn: 174463
OpenPOWER on IntegriCloud