mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 23:48:56 +00:00
2ce5ded6d2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283641 91177308-0d34-0410-b5e6-96231b3b80d8
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()
|