2015-02-11 06:43:25 +08:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2017-09-02 04:06:56 +08:00
|
|
|
BinaryFormat
|
2016-05-07 06:15:42 +08:00
|
|
|
DebugInfoCodeView
|
2016-07-30 04:56:36 +08:00
|
|
|
DebugInfoMSF
|
2015-02-11 06:43:25 +08:00
|
|
|
DebugInfoPDB
|
2016-05-04 07:25:47 +08:00
|
|
|
Object
|
2017-05-31 05:53:05 +08:00
|
|
|
ObjectYAML
|
2016-05-04 07:25:47 +08:00
|
|
|
Support
|
2015-02-11 06:43:25 +08:00
|
|
|
)
|
2015-01-28 07:02:23 +08:00
|
|
|
|
2017-06-10 04:46:17 +08:00
|
|
|
add_llvm_tool(llvm-pdbutil
|
2017-06-23 04:58:11 +08:00
|
|
|
BytesOutputStyle.cpp
|
2017-06-23 04:57:39 +08:00
|
|
|
DumpOutputStyle.cpp
|
2018-03-30 00:28:20 +08:00
|
|
|
ExplainOutputStyle.cpp
|
2017-09-02 04:06:56 +08:00
|
|
|
InputFile.cpp
|
2017-06-10 04:46:17 +08:00
|
|
|
llvm-pdbutil.cpp
|
2017-06-16 06:24:24 +08:00
|
|
|
FormatUtil.cpp
|
2015-02-27 17:15:59 +08:00
|
|
|
LinePrinter.cpp
|
2017-06-16 06:24:24 +08:00
|
|
|
MinimalSymbolDumper.cpp
|
|
|
|
MinimalTypeDumper.cpp
|
2016-06-07 04:37:05 +08:00
|
|
|
PdbYaml.cpp
|
2017-01-11 08:35:43 +08:00
|
|
|
PrettyBuiltinDumper.cpp
|
|
|
|
PrettyClassDefinitionDumper.cpp
|
2017-04-13 07:18:51 +08:00
|
|
|
PrettyClassLayoutGraphicalDumper.cpp
|
2017-01-11 08:35:43 +08:00
|
|
|
PrettyCompilandDumper.cpp
|
|
|
|
PrettyEnumDumper.cpp
|
|
|
|
PrettyExternalSymbolDumper.cpp
|
|
|
|
PrettyFunctionDumper.cpp
|
|
|
|
PrettyTypeDumper.cpp
|
|
|
|
PrettyTypedefDumper.cpp
|
|
|
|
PrettyVariableDumper.cpp
|
2017-03-14 07:28:25 +08:00
|
|
|
StreamUtil.cpp
|
[llvm-pdbutil] Add -type-ref-stats to help find unused type info
Summary:
This considers module symbol streams and the global symbol stream to be
roots. Most types that this considers "unreferenced" are referenced by
LF_UDT_MOD_SRC_LINE id records, which VC seems to always include.
Essentially, they are types that the user can only find in the debugger
if they call them by name, they cannot be found by traversing a symbol.
In practice, around 80% of type information in a PDB is referenced by a
symbol. That seems like a reasonable number.
I don't really plan to do anything with this tool. It mostly just exists
for informational purposes, and to confirm that we probably don't need
to implement type reference tracking in LLD. We can continue to merge
all types as we do today without wasting space.
Reviewers: zturner, aganea
Subscribers: mgorny, hiraditya, arphaman, jdoerfert, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D59620
llvm-svn: 356692
2019-03-22 02:02:34 +08:00
|
|
|
TypeReferenceTracker.cpp
|
2016-06-07 04:37:05 +08:00
|
|
|
YAMLOutputStyle.cpp
|
2015-02-11 06:43:25 +08:00
|
|
|
)
|