[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
================
@@ -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)
----------------
jh7370 wrote:
Why has this changed?
https://github.com/llvm/llvm-project/pull/91280
More information about the llvm-commits
mailing list