[llvm] [RISCV] Move the emitValueToAlignment before the header in emitNoteGnuPropertySection. (PR #151436)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 30 21:07:22 PDT 2025
================
@@ -97,7 +98,6 @@ void RISCVTargetStreamer::emitNoteGnuPropertySection(
// Emit n_desc field
OutStreamer.emitLabel(NDescBeginSym);
- OutStreamer.emitValueToAlignment(NoteAlign);
// Emit the feature_1_and property
OutStreamer.emitIntValue(ELF::GNU_PROPERTY_RISCV_FEATURE_1_AND, 4); // pr_type
----------------
topperc wrote:
I believe we need padding bytes for RV64. Should we emit that directly?
https://github.com/llvm/llvm-project/pull/151436
More information about the llvm-commits
mailing list