History log of /external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dce4a407a24b04eebc6a376f8e62b41aaa7b071f 29-May-2014 Stephen Hines <srhines@google.com> Update LLVM for 3.5 rebase (r209712).

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

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
a9a8f0f432966438800ffabb1b740a4cc8cd2599 13-Nov-2013 David Blaikie <dblaikie@gmail.com> DIEHash: Move header include to be first in the implementation file to flush out header inclusion ordering issues

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194588 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
7c0c2e56b09fee406ca0bb6e3ac840a3a6ed1160 25-Oct-2013 David Blaikie <dblaikie@gmail.com> DIEHash: Summary hashing of member functions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193432 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
a954618c6e6c5f94d3cedc0b6bc19dbc49e56ac2 25-Oct-2013 David Blaikie <dblaikie@gmail.com> DIEHash: Summary hashing of nested types

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193427 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
377e83202cb40849d384ddede39f9468af197427 24-Oct-2013 David Blaikie <dblaikie@gmail.com> DIEHash: Const correct and use references where non-null/non-rebound.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
1d7d8da4cb81aa3f149e1e80811d72525eee15e3 24-Oct-2013 David Blaikie <dblaikie@gmail.com> DIEHash: Do not use shallow type hashing for unnamed types

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193361 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
851aa948cb7fa379c9e674ae1cfe7276dd9ab171 24-Oct-2013 David Blaikie <dblaikie@gmail.com> DIEHash: Refactor ref attribute hashing into smaller functions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193360 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
c960816625ce47aea8368451b0025fbdcd15011a 22-Oct-2013 David Blaikie <dblaikie@gmail.com> DIEHashing: Provide an assert for unreachable functionality regarding friends.

Since (as of r190716) Clang no longer emits debug info for C++ friend
declarations (and it seems GCC never has/does, which was the motivation
for the Clang change), there's no actual reachable case for implementing
the part of DWARF 4, Section 7.27 part 5 that pertains to friends.

Leave an assert here so that if/when we do have a client producing
friends and using type units, we can fill in the gap and add appropriate
(unit and feature) tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193193 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
f196208900e690fe2d3bb1c6ca393d3fcd64226d 22-Oct-2013 David Blaikie <dblaikie@gmail.com> DWARF type hashing: pointers to members

Includes a test case/FIXME demonstrating a bug/limitation in pointer to
member hashing. To be honest I'm not sure why we don't just always use
summary hashing for referenced types... but perhaps I'm missing
something.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193175 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
449f036a8141b9032ff310ecbe0ab4433c5c307b 22-Oct-2013 David Blaikie <dblaikie@gmail.com> DWARF Type Hashing: Include reference and rvalue reference type in the declarable summary hashing path

More support for 7.25 Part 5.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193129 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
f1545a219744c1ae66137e64d1c456cd8e924eb7 22-Oct-2013 David Blaikie <dblaikie@gmail.com> DWARF type hashing: begin implementing Step 5, summary hashing in declarable contexts

There are several other tag types that need similar handling but to
ensure test coverage they'll be coming incrementally.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193126 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
3baa3c37ce2cd7db7a4840e66f22a08ce1702787 21-Oct-2013 David Blaikie <dblaikie@gmail.com> DWARF type hashing: Handle multiple (including recursive) references to the same type

This uses a map, keeping the type DIE numbering separate from the DIEs
themselves - alternatively we could do things the way GCC does if we
want to add an integer to the DIE type to record the numbering there.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193105 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
da39dd30ad3c969be3ac843307d4630807699538 21-Oct-2013 David Blaikie <dblaikie@gmail.com> DebugInfo: Hash DW_FORM_GNU_str_index as a string.

Found while adding type safety to the various DWARF enumerations (form,
attribute, tag, etc) that caused Clang to warn on an incompletely
covered switch. Converting the comment to a default/unreachable
uncovered this case of an unsupported form encoding. Seems we were
skipping fission strings entirely.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193089 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
0d87c201b1284627cef54d28a4621f34742aa24d 18-Oct-2013 David Blaikie <dblaikie@gmail.com> DIEHash: Add more things (and remove one character) from the COLLECT_ATTR macro

Makes the uses more terse and requires that they use a semicolon at the
end that helps editors indent proceeding lines correctly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192925 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
47f66d5a756d4eaeba9082ff4c82023a213daf45 18-Oct-2013 David Blaikie <dblaikie@gmail.com> DIEHash: Support for simple (non-recursive, non-reused) type references

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192924 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
88a68cbbb57aa9caef60dbd2f63d908983e77465 17-Oct-2013 David Blaikie <dblaikie@gmail.com> DIEHash: Include the type's context in the type hash.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192856 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
c0987082206d202c20ebe1d528c1b28a875160ac 17-Oct-2013 David Blaikie <dblaikie@gmail.com> DIEHash: Use DW_FORM_sdata for integers, per spec.

This allows us to produce the same hash as GCC for at least some simple
examples.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192855 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
700b91f07ca506f19c6d736bc020b36c678eb527 16-Oct-2013 David Blaikie <dblaikie@gmail.com> Remove ambiguity introduced in r192836

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192840 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
75ee00021d5e753be09baa4121a090afc8d7c236 16-Oct-2013 David Blaikie <dblaikie@gmail.com> DIEHash: Include the trailing zero byte after the children of a DIE

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192836 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
e891775aa13b42d40483481b9dc5c701d1cc1be5 16-Oct-2013 David Blaikie <dblaikie@gmail.com> Simplify zero initialization of DIEAttrs variable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192755 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
800a8761285a239bb82f7d1883a8398815cd2d8f 03-Sep-2013 Eric Christopher <echristo@gmail.com> Add a hashing routine that handles hashing types. Add a test for
hashing the contents of DW_FORM_data1 on top of a type with attributes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189862 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
bd18c8d0903b695bd503a45cf11901d48eea61bd 03-Sep-2013 Eric Christopher <echristo@gmail.com> Add the rest of the stock attributes to the attribute table.

This won't affect the kinds of hashes we test for as we actually
do hashing based on form and attribute. Change the fission-hash
testcase one last time to handle DW_AT_comp_dir.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189840 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
c3e9457f6d66d1cc16fc37e39ed5fe13f835875c 28-Aug-2013 Eric Christopher <echristo@gmail.com> Add a TODO here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189428 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
7ced4fa25778d646b29e1fb92ef8de01d279e57a 28-Aug-2013 Eric Christopher <echristo@gmail.com> Add support for DW_FORM_dataN and DW_FORM_udata to the DIE hashing
algorithm. Update the split dwarf hashing testcase accordingly - this
should be the last time that the hash of an empty file changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189427 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
cbb5c73942b62e693d9233907720138dd4f40f26 15-Aug-2013 David Blaikie <dblaikie@gmail.com> DebugInfo: Prefer references over pointers, pass by const reference for a type that will grow in the future

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188422 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
15ab9f4aaa0bebe50c1367963c409d929bede030 13-Aug-2013 Evgeniy Stepanov <eugeni.stepanov@gmail.com> Pass DIEHash::collectAttributes output argument by-pointer instead of by-value.

Before this, collectAttributes() was operating on a local object.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188254 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
0710bfa8667ea08ede15bf4f801f25418b4cefa0 13-Aug-2013 Eric Christopher <echristo@gmail.com> Add the start of DIE hashing for DWARF4 type units and split dwarf
CUs.

Currently only hashes the name of CUs and the names of any children,
but it's an obvious first step to show the framework. The testcase
should continue to be correct, however, as it's an empty TU.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188243 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
dd0cd3c4f468b55651bf33240667881bbed8d04c 13-Aug-2013 Eric Christopher <echristo@gmail.com> Reflow comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188233 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
0d27ca145fff7d71ca2da5d356925a1df6f533ca 09-Aug-2013 Eric Christopher <echristo@gmail.com> Move hash computation code into a separate class and file.

No functional change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188028 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp