mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
DebugInfo: Gut DIObjCProperty and DIImportedEntity
Gut a couple more classes in the DIDescriptor hierarchy. Leave behind an implicit conversion to `DIDescriptor`, the old base class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234836 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -163,7 +163,7 @@ void DebugInfoFinder::processModule(const Module &M) {
|
||||
for (auto *RT : CU->getRetainedTypes())
|
||||
processType(RT);
|
||||
for (DIImportedEntity Import : CU->getImportedEntities()) {
|
||||
DIDescriptor Entity = Import.getEntity().resolve(TypeIdentifierMap);
|
||||
auto *Entity = Import->getEntity().resolve(TypeIdentifierMap);
|
||||
if (auto *T = dyn_cast<MDType>(Entity))
|
||||
processType(T);
|
||||
else if (auto *SP = dyn_cast<MDSubprogram>(Entity))
|
||||
|
Reference in New Issue
Block a user