summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-01-11 00:35:08 +0000
committerZachary Turner <zturner@google.com>2017-01-11 00:35:08 +0000
commitc640b76db50f5b0593ddd4a2387ffb93296d266f (patch)
tree3aef512a232cd9e1e43b750eac0cf7e301e59480 /llvm/lib/CodeGen
parent545c4a95e183c1f7ec219452e7ce5db5c35f4b77 (diff)
downloadbcm5719-llvm-c640b76db50f5b0593ddd4a2387ffb93296d266f.tar.gz
bcm5719-llvm-c640b76db50f5b0593ddd4a2387ffb93296d266f.zip
[CodeView] Add TypeDatabase class.
This creates a centralized class in which to store type records. It stores types as an array of entries, which matches the notion of a type stream being a topologically sorted DAG. Logic to build up such a database was already being used in CVTypeDumper, so CVTypeDumper is now updated to to read from a TypeDatabase which is filled out by an earlier visitor in the pipeline. Differential Revision: https://reviews.llvm.org/D28486 llvm-svn: 291626
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
index 408b34a3cdc..9bf5c72757a 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
@@ -17,6 +17,7 @@
#include "llvm/DebugInfo/CodeView/CodeView.h"
#include "llvm/DebugInfo/CodeView/Line.h"
#include "llvm/DebugInfo/CodeView/SymbolRecord.h"
+#include "llvm/DebugInfo/CodeView/TypeDatabase.h"
#include "llvm/DebugInfo/CodeView/TypeDumper.h"
#include "llvm/DebugInfo/CodeView/TypeIndex.h"
#include "llvm/DebugInfo/CodeView/TypeRecord.h"
OpenPOWER on IntegriCloud