llvm-project/llvm/lib/DebugInfo
Nico Weber 51a52b5893 PDB HashTable: Move TraitsT from class parameter to the methods that need it
The traits object is only used by a few methods. Deserializing a hash
table and walking it is possible without the traits object, so it
shouldn't be required to build a dummy object for that use case.

The TraitsT object used to be a function template parameter before
r327647, this restores it to that state.

This makes it clear that the traits object isn't needed at all in 1 of
the current 3 uses of HashTable (and I am going to add another use that
doesn't need it), and that the default PdbHashTraits isn't used outside
of tests.

While here, also re-enable 3 checks in the test that were commented out
(which requires making HashTableInternals templated and giving FooBar
an operator==).

No intended behavior change.

Differential Revision: https://reviews.llvm.org/D64640

llvm-svn: 365974
2019-07-12 23:30:55 +00:00
..
CodeView Fix a few 'no newline at end of file' warnings that Xcode emits 2019-07-11 15:26:45 +00:00
DWARF Revert "[DwarfDebug] Dump call site debug info" 2019-07-12 09:45:12 +00:00
GSYM [DebugInfo] Simplify GSYM::AddressRange and GSYM::AddressRanges 2019-06-28 10:06:11 +00:00
MSF Move some classes into anonymous namespaces. NFC. 2019-02-11 15:16:21 +00:00
PDB PDB HashTable: Move TraitsT from class parameter to the methods that need it 2019-07-12 23:30:55 +00:00
Symbolize Teach the symbolizer lib symbolize objects directly. 2019-07-08 19:28:57 +00:00
CMakeLists.txt Add GSYM utility files along with unit tests. 2019-06-26 14:09:09 +00:00
LLVMBuild.txt Fix build in shared lib mode. 2019-06-26 15:46:48 +00:00