[clang] [llvm] [MC,llvm-readobj,yaml2obj] Support CREL relocation format (PR #91280)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 24 21:44:00 PDT 2024


================
@@ -4888,6 +4920,34 @@ void ELFDumper<ELFT>::printRelocationsHelper(const Elf_Shdr &Sec) {
 
 template <class ELFT> void ELFDumper<ELFT>::printDynamicRelocationsHelper() {
   const bool IsMips64EL = this->Obj.isMips64EL();
+  auto DumpCrelRegion = [&](DynRegionInfo &Region) {
----------------
MaskRay wrote:

It's used twice . There is `if (this->DynPLTRelRegion.Size) {` below

https://github.com/llvm/llvm-project/pull/91280


More information about the cfe-commits mailing list