OSDN Git Service

DebugInfo: Split DWARF: Hash non-member function child DIEs
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 31 Jan 2020 18:32:28 +0000 (10:32 -0800)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 31 Jan 2020 23:32:03 +0000 (15:32 -0800)
commitb33e5f3c3e850fafcfa94a59da9cdee8eb5f855e
tree8d123f5ef2ca9c28432d3b73de053bf8da0af88d
parent792d9b57194e51e9cc6805676b082932abeeede0
DebugInfo: Split DWARF: Hash non-member function child DIEs

Significant missing hashing - as per the comment this was only meant to
skip member functions (unspecified, but I think it's legible as member
function declarations, not definitions) but was skipping all named
subprograms (so only hashed child DIEs for member function definitions -
because they didn't have a direct name, but only a name given indirectly
in the DW_AT_specification-referenced DIE)
llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp
llvm/test/DebugInfo/Inputs/fission-hash-local2.ll [new file with mode: 0644]
llvm/test/DebugInfo/X86/fission-hash-local.ll [new file with mode: 0644]
llvm/test/DebugInfo/X86/sret.ll