mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
6931521bfe
This is the first step towards round-tripping symbol information, and thusly being able to write symbol information to a PDB. This patch writes the symbol information for each compiland to the Yaml when running in pdb2yaml mode. There's still some loose ends, such as what to do about relocations (necessary in order to print linkage names), how to print enums with friendly names, and how to give the dumper access to the StringTable, but this is a good first start. llvm-svn: 283641
31 lines
529 B
CMake
31 lines
529 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
DebugInfoCodeView
|
|
DebugInfoMSF
|
|
DebugInfoPDB
|
|
Object
|
|
Support
|
|
)
|
|
|
|
add_llvm_tool(llvm-pdbdump
|
|
llvm-pdbdump.cpp
|
|
BuiltinDumper.cpp
|
|
ClassDefinitionDumper.cpp
|
|
YamlSymbolDumper.cpp
|
|
YamlTypeDumper.cpp
|
|
CompilandDumper.cpp
|
|
EnumDumper.cpp
|
|
ExternalSymbolDumper.cpp
|
|
FunctionDumper.cpp
|
|
LinePrinter.cpp
|
|
LLVMOutputStyle.cpp
|
|
PdbYaml.cpp
|
|
TypeDumper.cpp
|
|
TypedefDumper.cpp
|
|
VariableDumper.cpp
|
|
YAMLOutputStyle.cpp
|
|
)
|
|
|
|
if(LLVM_USE_SANITIZE_COVERAGE)
|
|
add_subdirectory(fuzzer)
|
|
endif()
|