DIEHashing: Provide an assert for unreachable functionality regarding friends.
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 22 Oct 2013 20:28:55 +0000 (20:28 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 22 Oct 2013 20:28:55 +0000 (20:28 +0000)
commitc960816625ce47aea8368451b0025fbdcd15011a
treef79ad374ad47c349cb4193f55f3401311c0d283c
parent67fa53989a7bb05083966a694ad0c2e9b62ed683
DIEHashing: Provide an assert for unreachable functionality regarding friends.

Since (as of r190716) Clang no longer emits debug info for C++ friend
declarations (and it seems GCC never has/does, which was the motivation
for the Clang change), there's no actual reachable case for implementing
the part of DWARF 4, Section 7.27 part 5 that pertains to friends.

Leave an assert here so that if/when we do have a client producing
friends and using type units, we can fill in the gap and add appropriate
(unit and feature) tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193193 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DIEHash.cpp