History log of /external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cd7c4980d4ee2d22d92a4907f2d029e67b52d732 24-Sep-2013 David Blaikie <dblaikie@gmail.com> Exract most of DWARFCompileUnit into a new DWARFUnit to prepare for the coming DWARFTypeUnit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191233 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
63fd2af3892a81026f40374d08b5124e72ccff4e 27-Aug-2013 Alexey Samsonov <samsonov@google.com> Add support for DebugFission to DWARF parser

Summary:
1) Make llvm-symbolizer properly symbolize
files with split debug info (by using stanalone .dwo files).
2) Make DWARFCompileUnit parse and store corresponding .dwo file,
if necessary.
3) Make bits of DWARF parsing more CompileUnit-oriented.

Reviewers: echristo

Reviewed By: echristo

CC: bkramer, llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1164

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189329 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
e664290ad6d988e0ae40f2461084f6adbababa47 06-Aug-2013 Alexey Samsonov <samsonov@google.com> Store compile unit corresponding to each chain of inlined debug info entries. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187792 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
40d8c69c596e3aa5c2679014f07bb065ced2cb3b 15-Jul-2013 Alexey Samsonov <samsonov@google.com> DebugInfo: Factor out parsing compile unit DIEs to a separate function. Improve code style and comments.

No functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186315 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
cd61455798777446f35723fdb77f54a17e602009 17-Apr-2013 Alexey Samsonov <samsonov@google.com> Create a stub for DWARF parser unittests

Moves one DWARF-specific header to include/llvm/DebugInfo from lib/.
Add a short unittest for r179095.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179678 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
32a3e78304a94ea214aee5fe82b10dd110e8863a 09-Apr-2013 Alexey Samsonov <samsonov@google.com> DWARF parser: Fix DWARF-2/3 incompatibility: size of DW_FORM_ref_addr is the same as DW_FORM_addr in DWARF2, and is 4/8 bytes on 32/64-bit DWARF starting from DWARF3. Adding a test for this is a huge pain - generating and uploading pre-built binary with DWARF3 debug info is way too ugly, and writing fine-grained unittests for DebugInfo is impossible, as it doesn't expose any headers in include/llvm. That said, I'm going to choose the second approach and submit the patch exposing DebugInfo headers for review soon enough.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179095 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
642469f5826a29beb7d8abf675fc669c42f804c9 04-Jan-2013 Eric Christopher <echristo@gmail.com> Add a space to the end of the line so we don't get "itsbounds" in output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171487 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
82de10a34c9432029040ced17129079a7d80904e 03-Jan-2013 Eric Christopher <echristo@gmail.com> Extend the dumping infrastructure to deal with additional
sections for debug info. These are some of the dwo sections from the
DWARF5 split debug info proposal. Update the fission-cu.ll testcase
to show what we should be able to dump more of now.

Work in progress: Ultimately the relocations will be gone for the
dwo section and the strings will be a different form (as well as
the rest of the sections will be included).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
5eae90d727c64ca5b4b43b110521b38dcd9f0de6 04-Sep-2012 Alexey Samsonov <samsonov@google.com> Add support for fetching inlining context (stack of source code locations)
by instruction address from DWARF.

Add --inlining flag to llvm-dwarfdump to demonstrate and test this functionality,
so that "llvm-dwarfdump --inlining --address=0x..." now works much like
"addr2line -i 0x...", provided that the binary has debug info
(Clang's -gline-tables-only *is* enough).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163128 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
5d04a3ad0e202a50122d6739c9af533575254a80 24-Aug-2012 Eric Christopher <echristo@apple.com> Formatting cleanup.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162499 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
fa76f22865a8ee2adf29fdd4087b0982b7aedaf2 24-Aug-2012 Eric Christopher <echristo@apple.com> Add an assert here in case parsing gave us a NULL compile unit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162498 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
1a145c409af461a12a385540e7a0781eec13e9da 23-Aug-2012 Eric Christopher <echristo@apple.com> Tidy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162421 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
71d94f805514f28730bf39143ee227648d521d09 19-Jul-2012 Alexey Samsonov <samsonov@google.com> DebugInfo library: add support for fetching absolute paths to source files
(instead of basenames) from DWARF. Use this behavior in llvm-dwarfdump tool.

Reviewed by Benjamin Kramer.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160496 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
a9543aadffcee08d1e49ec9b6904db55671f71f3 04-Jul-2012 Alexey Samsonov <samsonov@google.com> Fix a bug in DebugInfo lib, extend a comment for one of the methods

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159707 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
3e25c4a1e3e58bc1d00d894854a29dd2e4e7e88a 02-Jul-2012 Alexey Samsonov <samsonov@google.com> This patch extends the libLLVMDebugInfo which contains a minimalistic DWARF parser:
1) DIContext is now able to return function name for a given instruction address (besides file/line info).
2) llvm-dwarfdump accepts flag --functions that prints the function name (if address is specified by --address flag).
3) test case that checks the basic functionality of llvm-dwarfdump added

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159512 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
fe80f1da404d25f93e4a2492b127554a882bd5bb 15-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> DWARF: Print line tables per compile unit, so they get the right address size.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139808 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
10df80692cc1594fb06fc02cae6eba177123cfd9 14-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> DWARF: Generate the address lookup table from the DIE tree if .debug_aranges is not available.

Ported from LLDB.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139732 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
15ec085c40cf45726a5c8925706795b52fd231bd 14-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> DebugInfo: Don't print DIEs multiple times.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139671 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp
72c0d7fdd3d0930c7507060e96aec7d7429a8190 13-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> Sketch out a DWARF parser.

This introduces a new library to LLVM: libDebugInfo. It will provide debug information
parsing to LLVM. Much of the design and some of the code is taken from the LLDB project.

It also contains an llvm-dwarfdump tool that can dump the abbrevs and DIEs from an
object file. It can be used to write tests for DWARF input and output easily.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139627 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFCompileUnit.cpp