[llvm] Reland "[ObjectYAML][ELF] Take alignment into account when generating notes" (PR #118434)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 4 00:28:00 PST 2024
================
@@ -462,3 +466,32 @@ Sections:
Desc: 030405
- Name: GNU
Type: NT_GNU_BUILD_ID
+
+--- !ELF
----------------
jh7370 wrote:
I think you can avoid this almost duplicate YAML blob by using yaml2obj's -D option e.g.
```
yaml2obj -DELFCLASS=32 ...
....
Class: ELFCLASS[[ELFCLASS]]
```
https://github.com/llvm/llvm-project/pull/118434
More information about the llvm-commits
mailing list