llvm-project/llvm/test/tools
Nico Weber 7bb5fc0583 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
..
dsymutil NFC: Unforget a colon in a few CHECK: directives. 2019-07-12 02:16:56 +00:00
gold [gold] Fix test after BitStream reader error changes 2019-07-02 20:24:00 +00:00
llvm-ar [llvm-ar][test] Add tests failing on Darwin 2019-07-17 15:10:02 +00:00
llvm-as Make llvm-as --help great again 2019-05-27 08:24:06 +00:00
llvm-cfi-verify [cfi-verify] Support cross-DSO 2018-08-24 15:21:58 +00:00
llvm-config [gn build] Commit change that should have been in r350410. 2019-01-04 17:26:05 +00:00
llvm-cov Fix line endings (NFC) 2019-07-02 13:13:36 +00:00
llvm-cvtres Let writeWindowsResourceCOFF() take a TimeStamp parameter 2019-06-11 11:26:50 +00:00
llvm-cxxdump [llvm-cxxdump] Use error reporting helpers from support 2018-11-11 01:24:02 +00:00
llvm-cxxfilt [binutils] Add response file option to help and docs 2019-06-21 11:49:20 +00:00
llvm-cxxmap Add flag to llvm-profdata to allow symbols in profile data to be remapped, and 2018-09-13 20:22:02 +00:00
llvm-diff llvm-diff: Fix crash on anonymous functions 2018-09-24 04:42:13 +00:00
llvm-dlltool [llvm-dlltool] Respect NONAME keyword 2019-05-22 09:49:54 +00:00
llvm-dwarfdump Revert "[DwarfDebug] Dump call site debug info" 2019-07-12 09:45:12 +00:00
llvm-dwp Replace 'REQUIRES: nozlib' with '!zlib' because we don't need two ways 2019-05-10 18:47:39 +00:00
llvm-elfabi [Object/ELF.h] - Improve error reporting. 2019-07-05 11:28:49 +00:00
llvm-exegesis [llvm-exegesis] Fix serialization/deserialization of special NoRegister register (PR41448) 2019-04-11 07:20:50 +00:00
llvm-extract [llvm-extract] Expose the group extraction feature of the BlockExtractor 2019-04-29 16:14:03 +00:00
llvm-isel-fuzzer [lit][tests]Add feature libcxx-used and use it in llvm-*-fuzzer tests 2019-05-14 13:54:33 +00:00
llvm-lib [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
llvm-lipo Revert [llvm-lipo] Implement -create (with hardcoded alignments) 2019-07-15 22:44:08 +00:00
llvm-lit
llvm-lto BitStream reader: propagate errors 2019-06-26 19:50:12 +00:00
llvm-lto2 [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
llvm-mc [lit] Delete empty lines at the end of lit.local.cfg NFC 2019-06-17 09:51:07 +00:00
llvm-mca Set an explicit x86 triple for test bottleneck-analysis.s added by my r364045. NFC 2019-06-21 14:05:58 +00:00
llvm-modextract
llvm-mt
llvm-nm Revert [tools] [llvm-nm] Default to reading from stdin not a.out 2019-07-16 15:33:43 +00:00
llvm-objcopy [llvm-objcopy] Don't change permissions of non-regular output files 2019-07-11 10:17:59 +00:00
llvm-objdump [llvm-objdump] Keep warning for --disassemble-functions in correct order. 2019-07-09 21:53:33 +00:00
llvm-opt-fuzzer [lit][tests]Add feature libcxx-used and use it in llvm-*-fuzzer tests 2019-05-14 13:54:33 +00:00
llvm-opt-report
llvm-pdbutil llvm-pdbdump: Fix several smaller issues with injected source compression handling 2019-07-17 22:59:52 +00:00
llvm-profdata [llvm-profdata] Don't make the output overwrite the input file. 2019-07-09 09:57:45 +00:00
llvm-rc Fix llvm-rc tests. 2019-03-27 20:15:08 +00:00
llvm-readobj [Object/llvm-readelf/llvm-readobj] - Improve error reporting when e_shstrndx is broken. 2019-07-16 11:07:30 +00:00
llvm-size [binutils] Add response file option to help and docs 2019-06-21 11:49:20 +00:00
llvm-split
llvm-strings [binutils] Add response file option to help and docs 2019-06-21 11:49:20 +00:00
llvm-symbolizer Fix frame.s test dir-separator checks 2019-06-25 12:35:38 +00:00
llvm-xray/X86 [llvm-xray] Support for PIE 2018-12-14 01:37:56 +00:00
lto [llvm-nm][llvm-readelf] Avoid single-dash -long-option in tests 2019-04-27 16:12:14 +00:00
obj2yaml Recommit r366052 "[obj2yaml] - Rework tool's error reporting logic for ELF target." 2019-07-15 11:53:39 +00:00
opt-viewer [opt-viewer] Add --filter option to select remarks for displaying. 2019-02-06 18:43:37 +00:00
sancov
sanstats [yaml2obj][obj2yaml] - Change how symbol's binding is descibed when parsing/dumping. 2019-04-03 14:53:42 +00:00
yaml2obj [yaml2obj/elf-override-shsize.yaml] - An attemp to fix ppc64 bot. 2019-07-11 13:26:36 +00:00