DebugInfo: Remove dead code, DICompositeType::addMember(DIDescriptor D)
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 27 Dec 2013 19:11:52 +0000 (19:11 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 27 Dec 2013 19:11:52 +0000 (19:11 +0000)
commitbd75475bfcbf81c0f6e3a67511c16704c7da8b7a
treed2c7e81f45de26d251d0c7fc972401b098e37d7e
parent1739b6cc2006fbbdc68b0a4b2d32452c17878f03
DebugInfo: Remove dead code, DICompositeType::addMember(DIDescriptor D)

It's no longer necessary to lazily add members to the DICompositeType
member list. Instead any lazy members (special member functions and
member template instantiations) are added to the parent late based on
their context link, the same way that nested types have always been
handled (never being in the member list - just added to the parent DIE
lazily based on context).

Clang's been updated not to use this function anymore as it improves
type unit consistency by never emitting lazy members in type units.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198079 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo.h
lib/IR/DebugInfo.cpp