[clang] [lld] [llvm] [RISCV] Support .note.gnu.property for enable Zicfiss and Zicfilp extension (PR #77414)

Jessica Clarke via cfe-commits cfe-commits at lists.llvm.org
Fri May 10 16:10:26 PDT 2024


================
@@ -85,6 +85,35 @@ void RISCVTargetELFStreamer::finishAttributeSection() {
                           ELF::SHT_RISCV_ATTRIBUTES, AttributeSection);
 }
 
+void RISCVTargetELFStreamer::emitNoteSection(unsigned Flags) {
----------------
jrtc27 wrote:

I know this is what AArch64 calls it, but it's a very vague name that could cover any number of note sections. Can we do better and make ours specific to what it's actually doing, i.e. something about it being a GNU properties note?

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


More information about the cfe-commits mailing list