mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
28b4519628
- getCompression() used to return a PDB_SourceCompression even though the docs for IDiaInjectedSource are explicit about the return value being compiler-dependent. Return an uint32_t instead, and make the printing code handle unknown values better by printing "Unknown" and the int value instead of not printing any compression. - Print compressed contents as hex dump, not as string. - Add compression type "DotNet", which is used (at least) by csc.exe, the C# compiler. Also add a lengthy comment describing the stream contents (derived from looking at the raw hex contents long enough to see the GUIDs, which led me to the roslyn and mono implementations for handling this). - The native injected source dumper was dumping the contents of the whole data stream -- but csc.exe writes a stream that's padded with zero bytes to the next 512 boundary, and the dia api doesn't display those padding bytes. So make NativeInjectedSource::getCode() do the same thing. Differential Revision: https://reviews.llvm.org/D64879 llvm-svn: 366386 |
||
---|---|---|
.. | ||
BytesOutputStyle.cpp | ||
BytesOutputStyle.h | ||
CMakeLists.txt | ||
DumpOutputStyle.cpp | ||
DumpOutputStyle.h | ||
ExplainOutputStyle.cpp | ||
ExplainOutputStyle.h | ||
FormatUtil.cpp | ||
FormatUtil.h | ||
InputFile.cpp | ||
InputFile.h | ||
LinePrinter.cpp | ||
LinePrinter.h | ||
llvm-pdbutil.cpp | ||
llvm-pdbutil.h | ||
LLVMBuild.txt | ||
MinimalSymbolDumper.cpp | ||
MinimalSymbolDumper.h | ||
MinimalTypeDumper.cpp | ||
MinimalTypeDumper.h | ||
OutputStyle.h | ||
PdbYaml.cpp | ||
PdbYaml.h | ||
PrettyBuiltinDumper.cpp | ||
PrettyBuiltinDumper.h | ||
PrettyClassDefinitionDumper.cpp | ||
PrettyClassDefinitionDumper.h | ||
PrettyClassLayoutGraphicalDumper.cpp | ||
PrettyClassLayoutGraphicalDumper.h | ||
PrettyCompilandDumper.cpp | ||
PrettyCompilandDumper.h | ||
PrettyEnumDumper.cpp | ||
PrettyEnumDumper.h | ||
PrettyExternalSymbolDumper.cpp | ||
PrettyExternalSymbolDumper.h | ||
PrettyFunctionDumper.cpp | ||
PrettyFunctionDumper.h | ||
PrettyTypedefDumper.cpp | ||
PrettyTypedefDumper.h | ||
PrettyTypeDumper.cpp | ||
PrettyTypeDumper.h | ||
PrettyVariableDumper.cpp | ||
PrettyVariableDumper.h | ||
StreamUtil.cpp | ||
StreamUtil.h | ||
TypeReferenceTracker.cpp | ||
TypeReferenceTracker.h | ||
YAMLOutputStyle.cpp | ||
YAMLOutputStyle.h |