- Oct 29, 2013
-
-
Alexey Samsonov authored
DWARF parser: Use ArrayRef to represent form sizes and simplify DWARFDIE::extractFast() interface. No functionality change. llvm-svn: 193560
-
Alexey Samsonov authored
Summary: Use DWARF4 table of form classes to fetch attributes from DIE in a more consistent way. This shouldn't change the functionality and serves as a refactoring for upcoming change: DW_AT_high_pc has different semantics depending on its form class. Reviewers: dblaikie, echristo Reviewed By: echristo CC: echristo, llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1961 llvm-svn: 193553
-
- Sep 24, 2013
-
-
David Blaikie authored
llvm-svn: 191238
-
David Blaikie authored
llvm-svn: 191233
-
- Aug 27, 2013
-
-
Alexey Samsonov authored
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 llvm-svn: 189329
-
- Aug 06, 2013
-
-
Alexey Samsonov authored
Store compile unit corresponding to each chain of inlined debug info entries. No functionality change. llvm-svn: 187792
-
- Jul 15, 2013
-
-
Alexey Samsonov authored
DebugInfo: Factor out parsing compile unit DIEs to a separate function. Improve code style and comments. No functionality change. llvm-svn: 186315
-
- Apr 17, 2013
-
-
Alexey Samsonov authored
Moves one DWARF-specific header to include/llvm/DebugInfo from lib/. Add a short unittest for r179095. llvm-svn: 179678
-
- Apr 09, 2013
-
-
Alexey Samsonov authored
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. llvm-svn: 179095
-
- Jan 04, 2013
-
-
Eric Christopher authored
llvm-svn: 171487
-
- Jan 03, 2013
-
-
Eric Christopher authored
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). llvm-svn: 171428
-
- Sep 04, 2012
-
-
Alexey Samsonov authored
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). llvm-svn: 163128
-
- Aug 24, 2012
-
-
Eric Christopher authored
llvm-svn: 162499
-
Eric Christopher authored
llvm-svn: 162498
-
- Aug 23, 2012
-
-
Eric Christopher authored
llvm-svn: 162421
-
- Jul 19, 2012
-
-
Alexey Samsonov authored
(instead of basenames) from DWARF. Use this behavior in llvm-dwarfdump tool. Reviewed by Benjamin Kramer. llvm-svn: 160496
-
- Jul 04, 2012
-
-
Alexey Samsonov authored
llvm-svn: 159707
-
- Jul 02, 2012
-
-
Alexey Samsonov authored
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 llvm-svn: 159512
-
- Sep 15, 2011
-
-
Benjamin Kramer authored
llvm-svn: 139808
-
- Sep 14, 2011
-
-
Benjamin Kramer authored
Ported from LLDB. llvm-svn: 139732
-
Benjamin Kramer authored
llvm-svn: 139671
-
- Sep 13, 2011
-
-
Benjamin Kramer authored
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. llvm-svn: 139627
-