SuccessChanges

Summary

  1. [libObject] - Add more ELF types to LLVM_ELF_IMPORT_TYPES_ELFT define (ELFTypes.h). (details)
  2. [llvm-readelf/obj] - Improve the warning reported when unable to read the stack size. (details)
  3. [obj2yaml] - Dump the content of a broken hash table properly. (details)
Commit 438bc157a47a03d36d81977a3ee9974cd021a885 by grimar
[libObject] - Add more ELF types to LLVM_ELF_IMPORT_TYPES_ELFT define (ELFTypes.h).

This allows to get rid of lots for typedefs/usings from many places.

Differential revision: https://reviews.llvm.org/D93801
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
The file was modifiedllvm/include/llvm/Object/ELFTypes.h
The file was modifiedllvm/include/llvm/Object/ELF.h
The file was modifiedllvm/include/llvm/Object/ELFObjectFile.h
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
Commit 177779e8dd9f7d20b96d4711a81d65ab7d480bb5 by grimar
[llvm-readelf/obj] - Improve the warning reported when unable to read the stack size.

It was discussed in D92545 that we might want to improve messages
reported when something is wrong with the stack size section.
This patch does it.

Differential revision: https://reviews.llvm.org/D93802
The file was modifiedllvm/test/tools/llvm-readobj/ELF/stack-sizes.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit 893c84d71c4ad223ae495d66a0c733a91c72e7bf by grimar
[obj2yaml] - Dump the content of a broken hash table properly.

This is similar to D93760.

When something is wrong with the hash table header we dump
its context as a raw data.

Currently we have the calculation overflow issue and it is possible to
bypass the validation we have (and crash).

The patch fixes it.

Differential revision: https://reviews.llvm.org/D93799
The file was modifiedllvm/tools/obj2yaml/elf2yaml.cpp
The file was modifiedllvm/test/tools/obj2yaml/ELF/hash-section.yaml