summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFDebugLine.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactor fetching file/line info from DWARFContext to simplify theAlexey Samsonov2012-08-301-0/+27
| | | | | | | | code and allow better code reuse. Make the code a bit more conforming to LLVM code style. No functionality change. llvm-svn: 162895
* Fix the representation of debug line table in DebugInfo LLVM library,Alexey Samsonov2012-08-071-39/+78
| | | | | | | | | | | | | and "instruction address -> file/line" lookup. Instead of plain collection of rows, debug line table for compilation unit is now treated as the number of row ranges, describing sequences (series of contiguous machine instructions). The sequences are not always listed in the order of increasing address, so previously used std::lower_bound() sometimes produced wrong results. Now the instruction address lookup consists of two stages: finding the correct sequence, and searching for address in range of rows for this sequence. llvm-svn: 161414
* Audited all the format strings in libDebugInfo and fixed those that didn't ↵Benjamin Kramer2011-11-051-2/+3
| | | | | | match the types. llvm-svn: 143814
* Add more PRI.64 macros for MSVC and use them throughout the codebase.Benjamin Kramer2011-11-051-1/+1
| | | | llvm-svn: 143799
* lib/DebugInfo/DWARFDebugLine.cpp: De-Unicode-ify.NAKAMURA Takumi2011-10-081-2/+2
| | | | llvm-svn: 141484
* WhitespaceNAKAMURA Takumi2011-10-081-1/+1
| | | | llvm-svn: 141483
* DWARF: avoid unnecessary map lookups.Benjamin Kramer2011-09-211-6/+5
| | | | llvm-svn: 140260
* DWARF: Reset the state after parsing a line table prologue and remove an ↵Benjamin Kramer2011-09-151-0/+2
| | | | | | unnecessary lookup. llvm-svn: 139859
* DWARF: Put all the pieces we have together and provide a single accessor to ↵Benjamin Kramer2011-09-151-1/+3
| | | | | | DIContext that provides line information when given an address. llvm-svn: 139836
* DWARF: Remove accessors that parse the whole line table section in one go, ↵Benjamin Kramer2011-09-151-38/+14
| | | | | | | | this can't possibly work. The address size is specified by the compile unit associated with a line table, there is no global address size. llvm-svn: 139835
* Give structs with virtual methods a virtual destructor.Nick Lewycky2011-09-151-0/+4
| | | | llvm-svn: 139776
* DWARF: Silence GCC -Wsign-compare warning.Benjamin Kramer2011-09-151-1/+1
| | | | llvm-svn: 139775
* DWARF: Include <algorithm> explicitly.Benjamin Kramer2011-09-151-0/+1
| | | | llvm-svn: 139773
* DWARF: Add basic support for line tables.Benjamin Kramer2011-09-151-0/+491
The llvm-dwarfdump output isn't very verbose yet. llvm-svn: 139771
OpenPOWER on IntegriCloud