Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add support for hashing DW_FORM_sdata and a small testcase. | Eric Christopher | 2014-02-20 | 1 | -0/+47 | |
| | | | | llvm-svn: 201747 | |||||
* | Format. | Eric Christopher | 2014-02-20 | 1 | -4/+8 | |
| | | | | llvm-svn: 201746 | |||||
* | Add support for DW_FORM_flag and DW_FORM_flag_present to the DIE hashing | Eric Christopher | 2014-01-31 | 1 | -0/+31 | |
| | | | | | | | | 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 | |||||
* | Fix name of nested type in comment to match code. | Eric Christopher | 2014-01-31 | 1 | -1/+1 | |
| | | | | llvm-svn: 200570 | |||||
* | Re-sort all of the includes with ./utils/sort_includes.py so that | Chandler Carruth | 2014-01-07 | 1 | -1/+1 | |
| | | | | | | | | | | 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 | |||||
* | [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. | NAKAMURA Takumi | 2013-12-10 | 1 | -3/+2 | |
| | | | | llvm-svn: 196908 | |||||
* | DIEHash: Summary hashing of member functions | David Blaikie | 2013-10-25 | 1 | -0/+18 | |
| | | | | llvm-svn: 193432 | |||||
* | DIEHash: Summary hashing of nested types | David Blaikie | 2013-10-25 | 1 | -0/+19 | |
| | | | | llvm-svn: 193427 | |||||
* | DIEHash: Const correct and use references where non-null/non-rebound. | David Blaikie | 2013-10-24 | 1 | -16/+16 | |
| | | | | llvm-svn: 193363 | |||||
* | DIEHash: Do not use shallow type hashing for unnamed types | David Blaikie | 2013-10-24 | 1 | -0/+35 | |
| | | | | llvm-svn: 193361 | |||||
* | DWARF type hashing: pointers to members | David Blaikie | 2013-10-22 | 1 | -0/+178 | |
| | | | | | | | | | 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 | |||||
* | DWARF Type Hashing: Include reference and rvalue reference type in the ↵ | David Blaikie | 2013-10-21 | 1 | -0/+66 | |
| | | | | | | | | declarable summary hashing path More support for 7.25 Part 5. llvm-svn: 193129 | |||||
* | DWARF type hashing: begin implementing Step 5, summary hashing in declarable ↵ | David Blaikie | 2013-10-21 | 1 | -6/+35 | |
| | | | | | | | | | contexts There are several other tag types that need similar handling but to ensure test coverage they'll be coming incrementally. llvm-svn: 193126 | |||||
* | DIEHashTest: Correct the order of operands to the TEST macro | David Blaikie | 2013-10-21 | 1 | -7/+7 | |
| | | | | | | And add the 'Test' suffix so the test case name matches the file name. llvm-svn: 193119 | |||||
* | DWARF type hashing: Handle multiple (including recursive) references to the ↵ | David Blaikie | 2013-10-21 | 1 | -1/+58 | |
| | | | | | | | | | | 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 | |||||
* | DIEHash: Support for simple (non-recursive, non-reused) type references | David Blaikie | 2013-10-17 | 1 | -7/+29 | |
| | | | | llvm-svn: 192924 | |||||
* | DIEHash: Include the type's context in the type hash. | David Blaikie | 2013-10-17 | 1 | -7/+56 | |
| | | | | llvm-svn: 192856 | |||||
* | DIEHash: Use DW_FORM_sdata for integers, per spec. | David Blaikie | 2013-10-16 | 1 | -1/+17 | |
| | | | | | | | This allows us to produce the same hash as GCC for at least some simple examples. llvm-svn: 192855 | |||||
* | Invert arguments to ASSERT_EQ to match gtest diagnostic printing | David Blaikie | 2013-10-16 | 1 | -1/+1 | |
| | | | | | | | | 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 | |||||
* | DIEHash: Include the trailing zero byte after the children of a DIE | David Blaikie | 2013-10-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 192836 | |||||
* | Use ASSERT_EQ rather than ASSERT_TRUE for better unit test failures. | David Blaikie | 2013-10-15 | 1 | -3/+3 | |
| | | | | | | | 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 | |||||
* | Plug a memory leak in a unit test. Stack allocation is sufficient here. | Benjamin Kramer | 2013-09-29 | 1 | -5/+4 | |
| | | | | llvm-svn: 191638 | |||||
* | It's a very large constant. Say so. | Eric Christopher | 2013-09-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 189899 | |||||
* | Fix copy and pasto with CMake files for unittest. | Eric Christopher | 2013-09-03 | 1 | -3/+3 | |
| | | | | llvm-svn: 189863 | |||||
* | Add a hashing routine that handles hashing types. Add a test for | Eric Christopher | 2013-09-03 | 3 | -0/+58 | |
hashing the contents of DW_FORM_data1 on top of a type with attributes. llvm-svn: 189862 |