History log of /llvm-project/llvm/unittests/CodeGen/DIEHashTest.cpp (Results 26 – 47 of 47)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# da1d7d9e 20-Feb-2014 Eric Christopher <echristo@gmail.com>

Format.

llvm-svn: 201746


# 4b1cf580 31-Jan-2014 Eric Christopher <echristo@gmail.com>

Add support for DW_FORM_flag and DW_FORM_flag_present to the DIE hashing
algorithm. Sink the 'A' + Attribute hash into each form so we don't
have to check valid forms before deciding whether or not w

Add support for DW_FORM_flag and DW_FORM_flag_present to the DIE hashing
algorithm. Sink the 'A' + Attribute hash into each form so we don't
have to check valid forms before deciding whether or not we're going
to hash which will let the default be to return without doing anything.

llvm-svn: 200571

show more ...


# 5ad8d90b 31-Jan-2014 Eric Christopher <echristo@gmail.com>

Fix name of nested type in comment to match code.

llvm-svn: 200570


# 8a8cd2ba 07-Jan-2014 Chandler Carruth <chandlerc@gmail.com>

Re-sort all of the includes with ./utils/sort_includes.py so that
subsequent changes are easier to review. About to fix some layering
issues, and wanted to separate out the necessary churn.

Also com

Re-sort all of the includes with ./utils/sort_includes.py so that
subsequent changes are easier to review. About to fix some layering
issues, and wanted to separate out the necessary churn.

Also comment and sink the include of "Windows.h" in three .inc files to
match the usage in Memory.inc.

llvm-svn: 198685

show more ...


Revision tags: llvmorg-3.4.0, llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2, llvmorg-3.4.0-rc1
# 8bc7db77 25-Oct-2013 David Blaikie <dblaikie@gmail.com>

DIEHash: Summary hashing of member functions

llvm-svn: 193432


# 65cc969f 25-Oct-2013 David Blaikie <dblaikie@gmail.com>

DIEHash: Summary hashing of nested types

llvm-svn: 193427


# 2aee7be8 24-Oct-2013 David Blaikie <dblaikie@gmail.com>

DIEHash: Const correct and use references where non-null/non-rebound.

llvm-svn: 193363


# 32744412 24-Oct-2013 David Blaikie <dblaikie@gmail.com>

DIEHash: Do not use shallow type hashing for unnamed types

llvm-svn: 193361


# d70a0553 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

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.

llvm-svn: 193175

show more ...


# fe3233a5 21-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.

llvm-svn: 193129


# 6cf58c89 21-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 incre

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.

llvm-svn: 193126

show more ...


# 6a7a446a 21-Oct-2013 David Blaikie <dblaikie@gmail.com>

DIEHashTest: Correct the order of operands to the TEST macro

And add the 'Test' suffix so the test case name matches the file name.

llvm-svn: 193119


# 980d4994 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 th

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.

llvm-svn: 193105

show more ...


# ca353be6 17-Oct-2013 David Blaikie <dblaikie@gmail.com>

DIEHash: Support for simple (non-recursive, non-reused) type references

llvm-svn: 192924


# 8a142aaa 17-Oct-2013 David Blaikie <dblaikie@gmail.com>

DIEHash: Include the type's context in the type hash.

llvm-svn: 192856


# 6316ca45 16-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.

llvm-svn: 192855


# d398ac56 16-Oct-2013 David Blaikie <dblaikie@gmail.com>

Invert arguments to ASSERT_EQ to match gtest diagnostic printing

GTest assumes the left hand side of the assert is the expectation and
the right hand side is the test result. It's easier to read gte

Invert arguments to ASSERT_EQ to match gtest diagnostic printing

GTest assumes the left hand side of the assert is the expectation and
the right hand side is the test result. It's easier to read gtest
failures when these things are ordered correctly.

llvm-svn: 192854

show more ...


# 71a0ad66 16-Oct-2013 David Blaikie <dblaikie@gmail.com>

DIEHash: Include the trailing zero byte after the children of a DIE

llvm-svn: 192836


# 59804193 15-Oct-2013 David Blaikie <dblaikie@gmail.com>

Use ASSERT_EQ rather than ASSERT_TRUE for better unit test failures.

Also minor using namespace move so it's not hard-up against the function
definition and outside the namespace as is usual.

llvm-

Use ASSERT_EQ rather than ASSERT_TRUE for better unit test failures.

Also minor using namespace move so it's not hard-up against the function
definition and outside the namespace as is usual.

llvm-svn: 192744

show more ...


# 0f01d4e3 29-Sep-2013 Benjamin Kramer <benny.kra@googlemail.com>

Plug a memory leak in a unit test. Stack allocation is sufficient here.

llvm-svn: 191638


# a923e7b7 04-Sep-2013 Eric Christopher <echristo@gmail.com>

It's a very large constant. Say so.

llvm-svn: 189899


# 25b7adc8 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.

llvm-svn: 189862


12