[llvm] Reland "[ObjectYAML][ELF] Take alignment into account when generating notes" (PR #118434)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 3 01:29:13 PST 2024
https://github.com/jh7370 commented:
I'm wondering what we should do for ELF32 instances, where the alignment is 8. In the spirit of yaml2obj's permissiveness, I think we should allow it, in which case we should have a test for it.
More generally, yaml2obj tries to be permissive in what it allows. In other words, it should try to write the object described regardless of the ABI rules on what is permitted. What's preventing us aligning each note to e.g. 2 or 3?
https://github.com/llvm/llvm-project/pull/118434
More information about the llvm-commits
mailing list