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

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 19 06:39:06 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) {
----------------
jh7370 wrote:

The lambda feels unnecessary, since it's only used once?

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


More information about the llvm-commits mailing list