llvm-project/llvm/test/tools/llvm-readobj
Jayson Yan 1f35d7b5de [llvm-readobj] Add JSONScopedPrinter to llvm-readelf
Adds JSONScopedPrinter to llvm-readelf. It includes an empty
JSONELFDumper class which will be used to override any LLVMELFDumper
methods which utilize startLine() which JSONScopedPrinter cannot
provide.

This introduces a change where calls to llvm-readelf with non-ELF object
files that specify --elf-output-style=GNU will now print file summary
information where it previously didn't.

Fixes previous Windows test failure which occured due to JSON escaping
of '\' by not relying on LIT substitution.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D114225
2021-12-10 23:34:27 +00:00
..
COFF [NFC][llvm] Inclusive language: reword uses of sanity test and check 2021-11-25 07:21:42 -05:00
ELF [llvm-readobj] Add JSONScopedPrinter to llvm-readelf 2021-12-10 23:34:27 +00:00
MachO [yaml2obj][MachO] Rename PayloadString to Content 2021-07-26 09:04:51 -07:00
XCOFF [XCOFF][llvm-readobj] improve the relocation output. 2021-11-08 03:15:52 +00:00
wasm [WebAssembly] Rename WasmLimits::Initial to ::Minimum. NFC. 2021-03-24 09:10:11 +01:00
archive.test
basic.test [llvm-readobj] Switch command line parsing from llvm::cl to OptTable 2021-07-12 10:14:42 -07:00
macho-arm64e.test [Triple][MachO] Define "arm64e", an AArch64 subarch for Pointer Auth. 2020-12-03 07:53:59 -08:00
thin-archive.test [test] Use host platform specific error message substitution in lit tests 2021-01-29 07:16:30 -05:00