llvm-project/llvm/test/tools
Georgii Rymar 137a25f04a [llvm-readobj, libSupport] - Refine the implementation of the code that dumps build attributes.
This implementation of `ELFDumper<ELFT>::printAttributes()` in llvm-readobj has issues:
1) It crashes when the content of the attribute section is empty.
2) It uses `unwrapOrError` and `reportWarning` calls, though
   ideally we want to use `reportUniqueWarning`.
3) It contains a TODO about redundant format version check.

`lib/Support/ELFAttributeParser.cpp` uses a hardcoded constant instead of the named constant.

This patch fixes all these issues.

Differential revision: https://reviews.llvm.org/D92318
2020-12-02 13:51:32 +03:00
..
UpdateTestChecks [UpdateTestChecks] Fix $ in function test for ARM. 2020-11-13 12:26:56 +01:00
dsymutil [llvm] fix global_downgraded_to_static test 2020-11-18 17:22:02 +01:00
gold [Remarks][1/2] Expand remarks hotness threshold option support in more tools 2020-11-30 21:55:49 -08:00
llc [llc] Use -filetype=null to disable MIR printing 2020-10-16 16:51:56 +01:00
llvm-ar [llvm-ar][test][AIX] Unsupport error-opening-directory.test on AIX 2020-07-13 12:00:07 -04:00
llvm-as [test] Run llvm/test/**/*.yaml & don't run llvm/test/**/*.cxx (not exist) 2020-07-08 10:22:49 -07:00
llvm-cfi-verify
llvm-config [Test] Tidy up loose ends from LLVM_HAS_GLOBAL_ISEL 2020-08-27 16:36:27 +01:00
llvm-cov s/instantate/instantiate/ throughout. NFCI. 2020-12-01 22:13:40 -05:00
llvm-cvtres
llvm-cxxdump
llvm-cxxfilt
llvm-cxxmap
llvm-diff
llvm-dlltool Make test/tools/llvm-dlltool/tool-name.test pass, and make it run 2020-11-03 11:59:15 -05:00
llvm-dwarfdump [dwarfdump] Recognize __apple sections as debug info sections 2020-10-29 17:54:34 -07:00
llvm-dwp
llvm-elfabi [llvm-elfabi] Emit ELF .dynsym, .dynamic sections 2020-11-24 00:17:04 -08:00
llvm-exegesis [llvm-exegesis][X86] Save and restore eflags. 2020-11-04 10:44:15 +01:00
llvm-extract
llvm-gsymutil [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
llvm-ifs [llvm-readobj] Update tests because of changes in llvm-readobj behavior 2020-07-20 10:39:04 +01:00
llvm-isel-fuzzer
llvm-lib [llvm-lib] Support adding short import library objects with llvm-lib 2020-07-24 22:15:08 +03:00
llvm-libtool-darwin [llvm-libtool-darwin] Add support for LLVM bitcode files 2020-10-29 12:00:44 -07:00
llvm-link Fix test that was accidentally adding the llvm-as binary into an 2020-07-14 17:07:40 -07:00
llvm-lipo [llvm-lipo] Add support for bitcode files 2020-08-25 21:11:18 -07:00
llvm-lit
llvm-locstats
llvm-lto
llvm-lto2
llvm-mc
llvm-mca [AArch64] Enable Cortex-A55 schedmodel 2020-11-30 19:28:34 +00:00
llvm-ml [ms] [llvm-ml] Support command-line defines 2020-12-01 18:06:05 -05:00
llvm-modextract
llvm-mt
llvm-nm [test] Run llvm/test/**/*.yaml & don't run llvm/test/**/*.cxx (not exist) 2020-07-08 10:22:49 -07:00
llvm-objcopy [llvm-objcopy] --only-keep-debug: place zero-size segment according to its parent segment 2020-11-11 09:21:10 -08:00
llvm-objdump [llvm-objdump] Require x86 target for mcpu/attr test 2020-11-30 13:55:31 +00:00
llvm-opt-fuzzer
llvm-opt-report
llvm-pdbutil
llvm-profdata [llvm-profdata]Fix llvm-profdata crash on compact binary profile 2020-09-20 16:58:34 -07:00
llvm-profgen [CSSPGO][llvm-profgen] Instruction symbolization 2020-11-20 14:26:27 -08:00
llvm-ranlib
llvm-rc [llvm-rc] Allow omitting components from VERSIONINFO versions 2020-09-16 09:34:26 +03:00
llvm-readobj [llvm-readobj, libSupport] - Refine the implementation of the code that dumps build attributes. 2020-12-02 13:51:32 +03:00
llvm-size [llvm-size] Output REL, RELA and STRTAB sections when allocatable 2020-07-01 12:02:32 +01:00
llvm-split
llvm-strings Add test utility 'split-file' 2020-08-03 20:42:09 -07:00
llvm-symbolizer Recommit "[llvm-symbolizer] Switch to using native symbolizer by default on Windows" 2020-11-30 17:36:12 -08:00
llvm-xray Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
lto Fix llvm/test/tools/lto/hide-linkonce-odr.ll 2020-08-21 18:32:35 -07:00
not Disable 'not' test on Windows because 'env' from GnuWin32 cannot be used without arguments. 2020-08-24 21:55:34 -04:00
obj2yaml [obj2yaml] - Teach tool to emit the "SectionHeaderTable" key and sort sections by file offset. 2020-12-01 12:59:15 +03:00
opt-viewer
sancov
sanstats
split-file Add test utility 'split-file' 2020-08-03 20:42:09 -07:00
yaml2obj Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00