1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/tools/llvm-pdbutil/Inputs
Nico Weber 28b4519628 llvm-pdbdump: Fix several smaller issues with injected source compression handling
- 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
2019-07-17 22:59:52 +00:00
..
ClassLayoutTest.cpp
ClassLayoutTest.pdb
ComplexPaddingTest.cpp
ComplexPaddingTest.pdb
dotnet_contents_compressed.pdb
dotnet_contents_uncompressed.pdb
dotnet_hashonly.pdb
FilterTest.cpp
FilterTest.pdb
FPOTest.pdb
InjectedSource.pdb
LoadAddressTest.cpp
LoadAddressTest.pdb
PrettyFuncDumperTest.cpp
PrettyFuncDumperTest.pdb
SimplePaddingTest.cpp
SimplePaddingTest.pdb
Stripped.pdb
tpi.bin
TypeQualifiersTest.cpp
TypeQualifiersTest.pdb
TypeServerTest.cpp
TypeServerTest.pdb
UsingNamespaceTest.cpp
UsingNamespaceTest.pdb