[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


================
@@ -5272,8 +5272,16 @@ static std::string getGNUProperty(uint32_t Type, uint32_t DataSize,
     return OS.str();
   case GNU_PROPERTY_AARCH64_FEATURE_1_AND:
   case GNU_PROPERTY_X86_FEATURE_1_AND:
-    OS << ((Type == GNU_PROPERTY_AARCH64_FEATURE_1_AND) ? "aarch64 feature: "
-                                                        : "x86 feature: ");
+
----------------
jrtc27 wrote:

```suggestion
```

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


More information about the cfe-commits mailing list