History log of /external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cd81d94322a39503e4a3e87b6ee03d4fcb3465fb 21-Jul-2014 Stephen Hines <srhines@google.com> Update LLVM for rebase to r212749.

Includes a cherry-pick of:
r212948 - fixes a small issue with atomic calls

Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
dce4a407a24b04eebc6a376f8e62b41aaa7b071f 29-May-2014 Stephen Hines <srhines@google.com> Update LLVM for 3.5 rebase (r209712).

Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
39f62fa3dd1f683288e67ba58bef785b2dcaa98c 29-Oct-2013 Alexey Samsonov <samsonov@google.com> Merge DWARFDIE::extractFast and DWARFDIE::extract into one function.

Complicated CU-DIE-specific logic in the latter was never used,
and it makes sense to have safety checks for broken dwarf in the former.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193563 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
6faff4886a3059a8cda08f015d29a6c9a0a4de3c 29-Oct-2013 Alexey Samsonov <samsonov@google.com> DWARF parser: Use ArrayRef to represent form sizes and simplify DWARFDIE::extractFast() interface. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193560 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
d2d54e2b7c8a427cf1f4684bee335c4bedc5a99b 29-Oct-2013 Alexey Samsonov <samsonov@google.com> DWARF parser: since DWARF4, DW_AT_high_pc may be a constant representing function size

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193555 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
c5253237f8b3b4eb888f7f85f39acd7d4d0f57cf 29-Oct-2013 Alexey Samsonov <samsonov@google.com> DebugInfo: Introduce the notion of "form classes"

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193553 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
2e56d575b7ea507684935d5cd6d5aee96d72ceb4 17-Oct-2013 Alexey Samsonov <samsonov@google.com> [DebugInfo] Delete dead code, simplify and fix code style for some existing code. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192894 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
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/DWARFDebugInfoEntry.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/DWARFDebugInfoEntry.cpp
a9b697975592b204e86496efc62a8b26fbfa1a03 19-Aug-2013 David Blaikie <dblaikie@gmail.com> llvm-dwarfdump: Do not include address offsets for attributes, only for tags

This reduces the noise in diffs making it more likely that, at least for
LLVM revision-over-revision, diffs will actually yield usable results.

This is consistent with objdump's DWARF dumping behavior.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188650 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.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/DWARFDebugInfoEntry.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/DWARFDebugInfoEntry.cpp
d6b89ef0fa17cf77677358a797934fa061564f5b 08-Apr-2013 Alexey Samsonov <samsonov@google.com> DWARF parser: remove duplicated code and fix code style in DIE extractors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179023 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
446b88fb81e14f5fa6f98ca924c83edc856cade7 17-Jan-2013 Eric Christopher <echristo@gmail.com> Fix the assembly and dissassembly of DW_FORM_sec_offset. Found this by
changing both the string of the dwo_name to be correct and the type of
the statement list.

Testcases all around.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172699 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
dd8e9f395e881972b320d947de88102a0be04b70 07-Jan-2013 Eric Christopher <echristo@gmail.com> Add support for separating strings for the split debug info DWARF5
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
e5ef305be2505741941b8e7c7a391add3632ebc3 07-Jan-2013 Eric Christopher <echristo@gmail.com> Update comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171689 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.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/DWARFDebugInfoEntry.cpp
203e6f60a84096d7fbc0ded932a6636177580198 30-Oct-2012 Eric Christopher <echristo@gmail.com> Reformat and 80-column this. It's not strictly conforming
yet, but it's better.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167053 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.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/DWARFDebugInfoEntry.cpp
3887a902a1b8e5a6aad4fc822479845ce3ba0dfe 24-Aug-2012 Eric Christopher <echristo@apple.com> Add support for some missing DW_FORM_*.

TODO: Fix code duplication and coding style.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162525 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
08cdb6e6b2a768f81dedd61725c7d67cdb05f0a0 24-Aug-2012 Eric Christopher <echristo@apple.com> Formatting.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162524 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
bd5bc2161cb4520134d3e7eb6ac5f160b3653e78 23-Aug-2012 Eric Christopher <echristo@apple.com> 80-col.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162422 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
9d26b0ba06479d9debadebce19344169f72407dd 17-Jul-2012 Alexey Samsonov <samsonov@google.com> Improve behavior of DebugInfoEntryMinimal::getSubprogramName() introduced in r159512.
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160365 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.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/DWARFDebugInfoEntry.cpp
4d6ccb5f68cd7c6418a209f1fa4dbade569e4493 20-Jan-2012 David Blaikie <dblaikie@gmail.com> More dead code removal (using -Wunreachable-code)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148578 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
80cc2598f89d09a6df2b84a5f8cea813b280b17b 05-Nov-2011 Benjamin Kramer <benny.kra@googlemail.com> Reduce the offsets in DwarfDebugInfoEntry to 32 bit, they're printed with %x and
that breaks on big-endian machines.

I have to clean up the 32/64 bit confusion in libDebugInfo some day.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143812 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
34f864fd382156331c61fbb6b7ae4828108b9d69 15-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> DWARF: wire up .debug_str dumping.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139799 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.cpp
75c63087b4e1528cc608b1586014fc1ebad2d9fb 15-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> DWARF: Make DIE printing more bulletproof.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.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/DWARFDebugInfoEntry.cpp
0942255f6daf49354dd1e19cc5f07aca65bea0d1 14-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> DWARF: Improve indentation of DIE dumping so it's easier to see the structure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139705 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.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/DWARFDebugInfoEntry.cpp
4aa3fea8b13b91800c908f8e7d74fad96adba69a 13-Sep-2011 Benjamin Kramer <benny.kra@googlemail.com> Style & indentation tweaks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139646 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/DebugInfo/DWARFDebugInfoEntry.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/DWARFDebugInfoEntry.cpp