summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DIEHash.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support for hashing location information for CU level hashes.Eric Christopher2014-03-081-0/+3
| | | | | | | Add a testcase based on sret.cpp where we can now hash the entire compile unit. llvm-svn: 203319
* Add include guards and make public a few routines that add valuesEric Christopher2014-03-071-1/+11
| | | | | | to the hash. llvm-svn: 203303
* Add support for hashing attributes with DW_FORM_block. This requiredEric Christopher2014-02-201-0/+8
| | | | | | | | | | | | | passing down an AsmPrinter instance so we could compute the size of the block which could be target specific. All of the test cases in the unittest don't have any target specific data so we can use a NULL AsmPrinter there. This also depends upon block data being added as integers. We can now hash the entire fission-cu.ll compile unit so turn the flag on there with the hash value. llvm-svn: 201752
* Formatting and 80-col.Eric Christopher2013-11-191-1/+2
| | | | llvm-svn: 195122
* DIEHash: Move header include to be first in the implementation file to flush ↵David Blaikie2013-11-131-0/+1
| | | | | | out header inclusion ordering issues llvm-svn: 194588
* DIEHash: Summary hashing of nested typesDavid Blaikie2013-10-251-0/+2
| | | | llvm-svn: 193427
* DIEHash: Const correct and use references where non-null/non-rebound.David Blaikie2013-10-241-11/+11
| | | | llvm-svn: 193363
* DIEHash: Refactor ref attribute hashing into smaller functionsDavid Blaikie2013-10-241-0/+13
| | | | llvm-svn: 193360
* DWARF type hashing: begin implementing Step 5, summary hashing in declarable ↵David Blaikie2013-10-211-2/+2
| | | | | | | | | contexts There are several other tag types that need similar handling but to ensure test coverage they'll be coming incrementally. llvm-svn: 193126
* DWARF type hashing: Handle multiple (including recursive) references to the ↵David Blaikie2013-10-211-0/+2
| | | | | | | | | | 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 referencesDavid Blaikie2013-10-171-0/+1
| | | | llvm-svn: 192924
* DIEHash: Use DW_FORM_sdata for integers, per spec.David Blaikie2013-10-161-0/+3
| | | | | | | This allows us to produce the same hash as GCC for at least some simple examples. llvm-svn: 192855
* Revert "Give internal classes hidden visibility."Benjamin Kramer2013-09-111-1/+1
| | | | | | | It works with clang, but GCC has different rules so we can't make all of those hidden. This reverts commit r190534. llvm-svn: 190536
* Give internal classes hidden visibility.Benjamin Kramer2013-09-111-1/+1
| | | | | | Worth 100k on a linux/x86_64 Release+Asserts clang. llvm-svn: 190534
* Add a hashing routine that handles hashing types. Add a test forEric Christopher2013-09-031-0/+3
| | | | | | hashing the contents of DW_FORM_data1 on top of a type with attributes. llvm-svn: 189862
* Sentences end with periods.Eric Christopher2013-09-031-2/+2
| | | | llvm-svn: 189861
* Add the rest of the stock attributes to the attribute table.Eric Christopher2013-09-031-1/+49
| | | | | | | | 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. llvm-svn: 189840
* Add support for DW_FORM_dataN and DW_FORM_udata to the DIE hashingEric Christopher2013-08-281-0/+1
| | | | | | | algorithm. Update the split dwarf hashing testcase accordingly - this should be the last time that the hash of an empty file changes. llvm-svn: 189427
* DebugInfo: Prefer references over pointers, pass by const reference for a ↵David Blaikie2013-08-141-2/+2
| | | | | | type that will grow in the future llvm-svn: 188422
* Pass DIEHash::collectAttributes output argument by-pointer instead of by-value.Evgeniy Stepanov2013-08-131-1/+1
| | | | | | Before this, collectAttributes() was operating on a local object. llvm-svn: 188254
* Add the start of DIE hashing for DWARF4 type units and split dwarfEric Christopher2013-08-131-3/+33
| | | | | | | | | | 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. llvm-svn: 188243
* Remove empty constructor.Eric Christopher2013-08-121-3/+0
| | | | llvm-svn: 188232
* Move hash computation code into a separate class and file.Eric Christopher2013-08-081-0/+46
No functional change intended. llvm-svn: 188028
OpenPOWER on IntegriCloud