[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 22:02:05 PDT 2024


================
@@ -3908,7 +3933,8 @@ template <class ELFT> void GNUELFDumper<ELFT>::printRelocations() {
     HasRelocSections = true;
 
     std::string EntriesNum = "<?>";
-    if (Expected<size_t> NumOrErr = GetEntriesNum(Sec))
+    Expected<size_t> NumOrErr = GetEntriesNum(Sec);
+    if (NumOrErr)
----------------
MaskRay wrote:

Sorry. Unneeded change when I was figuring out the best way to add CREL support here.

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


More information about the cfe-commits mailing list