[CodeView] Add TypeCollection::replaceType to replace type records post-merging
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Thu, 18 Jun 2020 12:21:39 +0000 (08:21 -0400)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Thu, 18 Jun 2020 13:17:14 +0000 (09:17 -0400)
commit24eff42ba4b85eaa5429e8efe9bd2070d34ba1f7
treec0a159bd216e8bff701288a321e4bb7254af3c49
parenta45409d8855a1e4538990507ef25e9b51c090193
[CodeView] Add TypeCollection::replaceType to replace type records post-merging

The API is not called in this patch. This is to simply/support https://reviews.llvm.org/D80833
llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h
llvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h
llvm/include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h
llvm/include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h
llvm/include/llvm/DebugInfo/CodeView/TypeCollection.h
llvm/include/llvm/DebugInfo/CodeView/TypeTableCollection.h
llvm/lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp
llvm/lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp
llvm/lib/DebugInfo/CodeView/LazyRandomTypeCollection.cpp
llvm/lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp
llvm/lib/DebugInfo/CodeView/TypeTableCollection.cpp