================ @@ -7884,10 +7902,11 @@ template <class ELFT> void LLVMELFDumper<ELFT>::printNotes() { W.printString("Type", "Unknown (" + to_string(format_hex(Type, 10)) + ")"); + uint16_t Target = this->Obj.getHeader().e_machine; ---------------- yetingk wrote:
Move this definition into `if (Name == "Gnu") {` scope. https://github.com/llvm/llvm-project/pull/77414 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits