forked from OSchip/llvm-project
7bb5fc0583
- 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 |
||
---|---|---|
.. | ||
Inputs | ||
checksum-string.test | ||
class-layout.test | ||
complex-padding-graphical.test | ||
enum-layout.test | ||
explain-dbi-stream.test | ||
explain-pdb-stream.test | ||
explain.test | ||
export-stream.test | ||
fpo-data.test | ||
injected-sources-native.test | ||
injected-sources.test | ||
lit.local.cfg | ||
load-address.test | ||
partial-type-stream.test | ||
pretty-func-dumper.test | ||
regex-filter.test | ||
simple-padding-graphical.test | ||
stripped.test | ||
symbol-filters.test | ||
type-qualifiers.test | ||
type-server-no-dbi.test | ||
usingnamespace.test |