[llvm-branch-commits] [llvm-objdump] -r: support CREL (PR #97382)

Peter Smith via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jul 3 09:09:31 PDT 2024


================
@@ -207,6 +209,43 @@ bool isSectionInSegment(const typename ELFT::Phdr &Phdr,
          checkSectionVMA<ELFT>(Phdr, Sec);
 }
 
+template <bool Is64>
+Error decodeCrel(ArrayRef<uint8_t> Content,
+                 function_ref<void(uint64_t, bool)> HdrHandler,
----------------
smithp35 wrote:

could be worth 
```
uint64_t /* relocation count */, bool /* explicit addends */
```

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


More information about the llvm-branch-commits mailing list