[clang] [lld] [llvm] [RISCV] Support .note.gnu.property for enable Zicfiss and Zicfilp extension (PR #77414)
Yeting Kuo via cfe-commits
cfe-commits at lists.llvm.org
Fri May 10 01:30:45 PDT 2024
================
@@ -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
More information about the cfe-commits
mailing list