- Jan 17, 2013
-
-
Eric Christopher authored
emitting the dwarf32 version of DW_FORM_sec_offset and correct disassembler support. llvm-svn: 172698
-
- Jan 16, 2013
-
-
Eric Christopher authored
using the DW_FORM_GNU_addr_index and a separate .debug_addr section which stays in the executable and is fully linked. Sneak in two other small changes: a) Print out the debug_str_offsets.dwo section. b) Change form we're expecting the entries in the debug_str_offsets.dwo section to take from ULEB128 to U32. Add tests for all of this in the fission-cu.ll test. llvm-svn: 172578
-
- Jan 09, 2013
-
-
NAKAMURA Takumi authored
test/DebugInfo/member-pointers.ll would not fail in targetting BE any more. llvm-svn: 171943
-
- Jan 07, 2013
-
-
Eric Christopher authored
llvm-svn: 171804
-
Eric Christopher authored
proposal. This leaves the strings in the skeleton die as strp, but in all dwo files they're accessed now via DW_FORM_GNU_str_index. Add support for dumping these sections and modify the fission-cu.ll testcase to have the correct strings and form. Fix a small bug in the fixed form sizes routine that involved out of array accesses for the table and add a FIXME in the extractFast routine to fix this up. llvm-svn: 171779
-
Eric Christopher authored
llvm-svn: 171689
-
- 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
-
- Dec 27, 2012
-
-
Eric Christopher authored
information doesn't return an addend for Rel relocations. Go ahead and use this information to fix relocation handling inside dwarfdump for 32-bit ELF REL. llvm-svn: 171126
-
- Dec 21, 2012
-
-
Rafael Espindola authored
Now that we don't merge section and segment names, we don't need to skip the segment name to get to the section name. llvm-svn: 170839
-
- Dec 19, 2012
-
-
Bill Wendling authored
Rename the 'Attributes' class to 'Attribute'. It's going to represent a single attribute in the future. llvm-svn: 170502
-
- Dec 04, 2012
-
-
Chandler Carruth authored
missed in the first pass because the script didn't yet handle include guards. Note that the script is now able to handle all of these headers without manual edits. =] llvm-svn: 169224
-
- Nov 27, 2012
-
-
Eric Christopher authored
llvm-svn: 168666
-
- Nov 17, 2012
-
-
Eric Christopher authored
llvm-svn: 168223
-
- Nov 16, 2012
-
-
Alexey Samsonov authored
[DebugInfo] Generate address ranges for compile units even if .debug_aranges is present: it is often the case that .debug_aranges section contains ranges only for a small subset of compile units. Test cases will be added in separate commits. llvm-svn: 168144
-
- Nov 12, 2012
-
-
Eric Christopher authored
llvm-svn: 167757
-
Alexey Samsonov authored
Fixup for r167558: Store raw pointer (instead of reference) to RelocMap in DIContext. This is needed to prevent crashes because of dangling reference if the clients don't provide RelocMap to DIContext constructor. llvm-svn: 167728
-
- Nov 08, 2012
-
-
Eric Christopher authored
values in a map that can be passed to consumers. Add a testcase that ensures this works for llvm-dwarfdump. llvm-svn: 167558
-
- Oct 30, 2012
-
-
Eric Christopher authored
yet, but it's better. llvm-svn: 167053
-
- Oct 17, 2012
-
-
Eric Christopher authored
llvm-svn: 166077
-
Eric Christopher authored
llvm-svn: 166076
-
- Sep 18, 2012
-
-
Craig Topper authored
llvm-svn: 164090
-
- Sep 06, 2012
-
-
Roman Divacky authored
llvm-svn: 163258
-
- Sep 05, 2012
-
-
Roman Divacky authored
llvm-svn: 163225
-
- 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 30, 2012
-
-
Alexey Samsonov authored
code and allow better code reuse. Make the code a bit more conforming to LLVM code style. No functionality change. llvm-svn: 162895
-
- Aug 28, 2012
-
-
Marshall Clow authored
Fix compile error when building with C++11 - clang thinks that PRIx64 is a user-defined suffix or something llvm-svn: 162704
-
- Aug 27, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 162665
-
Alexey Samsonov authored
llvm-svn: 162659
-
Alexey Samsonov authored
This section (introduced in DWARF-3) is used to define instruction address ranges for functions that are not contiguous and can't be described by low_pc/high_pc attributes (this is the usual case for inlined subroutines). The patch is the first step to support fetching complete inlining info from DWARF. Reviewed by Benjamin Kramer. llvm-svn: 162657
-
- Aug 24, 2012
-
-
Eric Christopher authored
TODO: Fix code duplication and coding style. llvm-svn: 162525
-
Eric Christopher authored
llvm-svn: 162524
-
Eric Christopher authored
llvm-svn: 162499
-
Eric Christopher authored
llvm-svn: 162498
-
- Aug 23, 2012
-
-
Eric Christopher authored
llvm-svn: 162422
-
Eric Christopher authored
llvm-svn: 162421
-
- Aug 07, 2012
-
-
Alexey Samsonov authored
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
-
- 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 17, 2012
-
-
Alexey Samsonov authored
To fetch a subprogram name we should not only inspect the DIE for this subprogram, but optionally inspect its specification, or its abstract origin (even if there is no inlining), or even specification of an abstract origin. Reviewed by Benjamin Kramer. llvm-svn: 160365
-
- Jul 04, 2012
-
-
Alexey Samsonov authored
llvm-svn: 159707
-