[llvm] [AArch64] Add support for SHF_AARCH64_PURECODE ELF section flag (1/3) (PR #125687)
Csanád Hajdú via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 12 01:56:18 PST 2025
================
@@ -1337,6 +1337,10 @@ const EnumEntry<unsigned> ElfXCoreSectionFlags[] = {
ENUM_ENT(XCORE_SHF_DP_SECTION, "")
};
+const EnumEntry<unsigned> ElfAArch64SectionFlags[] = {
+ ENUM_ENT(SHF_AARCH64_PURECODE, "y"),
----------------
Il-Capitano wrote:
As an aside on `clang-format`, I don't think it's a bug in the second, no trailing comma case. As far as I found LLVM style prefers as few lines as possible, so having the closing brace on the same line as the last element is consistent with that. A similar thing happens with function calls:
```
aVeryVeryVeryLongFunctionName(
AVeryVeryVeryVeryLongVariableName);
```
https://github.com/llvm/llvm-project/pull/125687
More information about the llvm-commits
mailing list