[lldb] Implement SymbolFile::CopyType
SymbolFiles should be the only point of creation of Types to ensure that they aren't destroyed prematurely by keeping them in the SymbolFile's TypeList. This patch hides the copy constructor of Types, and adds a new CopyType function to SymbolFile, so Types can still be copied safely. Differential Revision: https://reviews.llvm.org/D142052
parent
84c6129c
Please register or sign in to comment