]> granicus.if.org Git - llvm/commit
[llvm-pdbdump] Only build the TypeDatabase if necessary.
authorZachary Turner <zturner@google.com>
Thu, 4 May 2017 23:53:01 +0000 (23:53 +0000)
committerZachary Turner <zturner@google.com>
Thu, 4 May 2017 23:53:01 +0000 (23:53 +0000)
commitb18693c52dfe288124fd67fac8c20d7dce60d3ff
tree0a067439ffca575451de6e529f5abdd8a3c9f94a
parent15650770132ba3e6e7214a28dfe0a0a01db8bd40
[llvm-pdbdump] Only build the TypeDatabase if necessary.

Building the type database is expensive, and can take multiple
minutes for large PDBs.  But we only need it in certain cases
depending on what command line options are specified.  So only
build it when we know we're about to need it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302204 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-pdbdump/LLVMOutputStyle.cpp
tools/llvm-pdbdump/LLVMOutputStyle.h