- Oct 29, 2013
-
-
NAKAMURA Takumi authored
error: conversion from `const uint8_t*' to non-scalar type `llvm::ArrayRef<unsigned char>' requested llvm-svn: 193575
-
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
-
- Oct 18, 2013
-
-
Alexey Samsonov authored
llvm-svn: 192954
-
Alexey Samsonov authored
llvm-svn: 192952
-
- Sep 24, 2013
-
-
David Blaikie authored
llvm-svn: 191233
-
- Sep 22, 2013
-
-
David Blaikie authored
llvm-svn: 191179
-
- 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
-
- Jun 19, 2013
-
-
David Blaikie authored
This is a basic implementation - we still don't have any support (that I know of) for dumping DWARF expressions in a meaningful way, so the location information itself is just printed as a sequence of bytes as we do elsewhere. llvm-svn: 184361
-
- May 30, 2013
-
-
Eric Christopher authored
llvm-svn: 182901
-
- Apr 22, 2013
-
-
Eric Christopher authored
llvm-svn: 180013
-
- 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 11, 2013
-
-
Benjamin Kramer authored
Rename the C function to create a SLPVectorizerPass to something sane and expose it in the header file. llvm-svn: 179272
-
- 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
-
- Apr 07, 2013
-
-
Eric Christopher authored
a relocation across sections. Do this for DW_AT_stmt list in the skeleton CU and check the relocations in the debug_info section. Add a FIXME for multiple CUs. llvm-svn: 178969
-
- Jan 17, 2013
-
-
Eric Christopher authored
changing both the string of the dwo_name to be correct and the type of the statement list. Testcases all around. llvm-svn: 172699
-
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 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
-
- 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
-
- Nov 17, 2012
-
-
Eric Christopher authored
llvm-svn: 168223
-
- 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
-
- Sep 06, 2012
-
-
Roman Divacky authored
llvm-svn: 163258
-
- Aug 24, 2012
-
-
Eric Christopher authored
TODO: Fix code duplication and coding style. llvm-svn: 162525
-
- Apr 04, 2012
-
-
Benjamin Kramer authored
Still not fixed in the standard ;) llvm-svn: 154044
-
- Nov 05, 2011
-
-
Benjamin Kramer authored
llvm-svn: 143814
-
Benjamin Kramer authored
llvm-svn: 143799
-
- Sep 15, 2011
-
-
Benjamin Kramer authored
llvm-svn: 139799
-
Benjamin Kramer authored
llvm-svn: 139774
-
- Sep 13, 2011
-
-
Benjamin Kramer authored
llvm-svn: 139646
-
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
-