[Lldb-commits] [PATCH] D71398: [lldb] Remove RTTI in ClangExternalASTSourceCommon based on a global map of known instances

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 12 01:03:16 PST 2019


teemperor created this revision.
teemperor added reviewers: labath, aprantl.
Herald added subscribers: lldb-commits, JDevlieghere.
Herald added a project: LLDB.

Currently we do our RTTI check for ClangExternalASTSourceCommon by using this global map of
ClangExternalASTSourceCommon where every instance is registering and deregistering itself
on creation/destruction. Then we can do the RTTI check by looking up in this map from ClangASTContext.

This patch removes this whole thing and just adds LLVM-style RTTI support to ClangExternalASTSourceCommon
which is possible with D71397 <https://reviews.llvm.org/D71397>.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D71398

Files:
  lldb/include/lldb/Symbol/ClangExternalASTSourceCommon.h
  lldb/source/Symbol/ClangASTContext.cpp
  lldb/source/Symbol/ClangExternalASTSourceCommon.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71398.233525.patch
Type: text/x-patch
Size: 3922 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191212/ed1f0aef/attachment.bin>


More information about the lldb-commits mailing list