OSDN Git Service

[CodeView] Factor some code out of TypeTableBuilder.
authorZachary Turner <zturner@google.com>
Wed, 29 Nov 2017 22:41:56 +0000 (22:41 +0000)
committerZachary Turner <zturner@google.com>
Wed, 29 Nov 2017 22:41:56 +0000 (22:41 +0000)
commit7448686a65bdfb92326807a6b63ecf997639c439
tree280e8b09d2efee7799aa464eb04d58ea1bd47844
parentf1a319a05f66af71eb4efc3a0d047fc11bf7400c
[CodeView] Factor some code out of TypeTableBuilder.

This class had some code that would automatically remap type
indices before hashing and serializing.  The only caller of
this method was the TypeStreamMerger anyway, and the method
doesn't make general sense, and prevents making certain future
improvements to the class.  So, factoring this up one level
into the TypeStreamMerger where it belongs.

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