llvm-project/llvm/test/tools/llvm-readobj
Simon Atanasyan 1993254509 [llvm-readobj] Print ELF header flags names in GNU output
GNU readelf tool prints hex value of the ELF header flags field and the
flags names. This change adds the same functionality to llvm-readobj.
Now llvm-readobj can print MIPS and RISCV flags.

New GNUStyle::printFlags() method is a copy of ScopedPrinter::printFlags()
routine. Probably we can escape code duplication and / or simplify the
printFlags() method. But it's a task for separate commit.

Differential revision: https://reviews.llvm.org/D52027

llvm-svn: 345238
2018-10-25 05:39:27 +00:00
..
ARM
Inputs [ARM64][Windows] Add unwind support to llvm-readobj 2018-10-24 00:03:34 +00:00
amdgpu-elf-definitions.test AMDGPU: Add and set AMDGPU-specific e_flags 2017-10-05 16:19:18 +00:00
arm64-win-error1.s [ARM64][Windows] Add unwind support to llvm-readobj 2018-10-24 00:03:34 +00:00
arm64-win-error2.s [ARM64][Windows] Add unwind support to llvm-readobj 2018-10-24 00:03:34 +00:00
arm64-win-error3.s [ARM64][Windows] Add unwind support to llvm-readobj 2018-10-24 00:03:34 +00:00
basic.test
bigobj.test
broken-group.test [llvm-readobj] Extend the output of -elf-section-groups 2018-03-12 22:40:09 +00:00
codeview-inlinees.test [codeview] Add support for inlinee lists 2017-10-23 23:43:40 +00:00
codeview-inlining.test
codeview-label.test
codeview-linetables.test
codeview-merging-anon.test
codeview-merging-cycle.test [DebugInfo] Common behavior for error types 2018-08-31 17:41:58 +00:00
codeview-merging-unsorted.test
codeview-merging.test
codeview-types.test
codeview-vftable.test
coff-arm-baserelocs.test
coff-basereloc.test
coff-const-import.test
coff-debug-directory.test
coff-directives.test
coff-exports-implib.test
coff-exports.test
coff-file-sections-reading.test
coff-load-config.test
coff-needed-libs.test [llvm-readobj] Support -needed-libs option for COFF files 2017-12-27 19:59:56 +00:00
coff-non-null-terminated-file.test
coff-resources.test [llvm-readobj] Teach readobj to dump .res files (WindowsResource). 2017-09-20 18:33:35 +00:00
coff-zero-string-table.test
cxx-cli-aux.test
dynamic.test
elf-dtflags.test
elf-gnuhash.test
elf-groups.test [llvm-readobj] Extend the output of -elf-section-groups 2018-03-12 22:40:09 +00:00
elf-hash-histogram.test
elf-linker-options.ll Mark two tests REQUIRES: x86-registered-backend 2018-01-31 07:32:03 +00:00
elf-packed-relocs-empty.s Assembly tests require x86 target. 2017-10-25 04:24:20 +00:00
elf-packed-relocs-error1.s Assembly tests require x86 target. 2017-10-25 04:24:20 +00:00
elf-packed-relocs-error2.s Assembly tests require x86 target. 2017-10-25 04:24:20 +00:00
elf-packed-relocs-error3.s Assembly tests require x86 target. 2017-10-25 04:24:20 +00:00
elf-packed-relocs-error4.s Assembly tests require x86 target. 2017-10-25 04:24:20 +00:00
elf-packed-relocs-error5.s Assembly tests require x86 target. 2017-10-25 04:24:20 +00:00
elf-packed-relocs.test llvm-readobj: Fix addend in relocations for android packed format 2018-08-15 17:58:22 +00:00
elf-relr-relocs.test [llvm-readobj] Add experimental support for SHT_RELR sections 2018-06-28 21:07:34 +00:00
elf-sec-compressed.test
elf-sec-flags.test
elf-versioninfo.test
file-headers.test
gnu-file-headers.test [llvm-readobj] Print ELF header flags names in GNU output 2018-10-25 05:39:27 +00:00
gnu-notes.test
gnu-phdrs.test
gnu-relocations.test
gnu-sections.test
gnu-symbols.test
imports.test
macho-needed-libs.test [llvm-readobj] Support -needed-libs option for Mach-O files 2018-01-08 02:23:10 +00:00
macho-universal-x86_64.i386.test
many-sections.s [llvm-readobj] - Do not report invalid amount of sections. 2018-07-19 14:52:57 +00:00
mips-abiflags.test
mips-got-overlapped.test
mips-got.test [llvm-readobj] Support 'GNU' style for MIPS GOT/PLT dumping 2017-12-21 10:26:02 +00:00
mips-options-sec.test
mips-options.test
mips-plt.test [llvm-readobj] Support 'GNU' style for MIPS GOT/PLT dumping 2017-12-21 10:26:02 +00:00
mips-reginfo.test
mips-rld-map-rel.test
mips-st-other.test
note-gnu-property.s [llvm-readobj] Support GNU_PROPERTY_X86_FEATURE_1_AND notes in .note.gnu.property 2018-06-04 15:14:18 +00:00
note-gnu-property2.s Fix build bot after r328078 "llvm-readobj] - Teach llvm-readobj to dump .note.gnu.property sections." 2018-03-21 08:48:44 +00:00
peplus.test
ppc64-glink.test Add PPC64_GLINK dynamic tag. 2018-04-13 16:42:48 +00:00
print-hex.test [llvm-readobj] Generic hex-dump option 2018-07-25 10:04:37 +00:00
print-section.test [llvm-readobj] Generic -string-dump option 2018-07-18 18:00:41 +00:00
program-headers.test
reloc-types.test
relocations.test [WebAssembly] llvm-readobj: display symbols names in relocations 2018-05-01 16:35:16 +00:00
res-resources.test [llvm-readobj] Teach readobj to dump .res files (WindowsResource). 2017-09-20 18:33:35 +00:00
rpath.test
sections-ext.test
sections.test [WebAssembly] Add version to object file metadata 2018-04-26 18:15:32 +00:00
symbols.test [WebAssembly] Update pre-generated test files to match latest llc output. NFC. 2018-03-01 15:55:59 +00:00
unwind-arm64-windows.test [ARM64][Windows] Add unwind support to llvm-readobj 2018-10-24 00:03:34 +00:00
unwind.test Reland "[DebugInfo] Support DWARF expressions in eh_frame" 2018-03-08 00:46:53 +00:00
wasm-invalid.test