[all-commits] [llvm/llvm-project] 40d483: Warn on align directive with non-zero fill value i...
Luís Marques via All-commits
all-commits at lists.llvm.org
Wed Sep 20 07:18:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 40d4837037b0f7bf3ac129744973b4a5c7caaa80
https://github.com/llvm/llvm-project/commit/40d4837037b0f7bf3ac129744973b4a5c7caaa80
Author: Luís Marques <luismarques at lowrisc.org>
Date: 2023-09-20 (Wed, 20 Sep 2023)
Changed paths:
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/test/MC/ELF/nobits-non-zero-value.s
Log Message:
-----------
Warn on align directive with non-zero fill value in virtual sections (#66792)
This patch warns when an align directive with a non-zero fill value is
used in a virtual section. The fill value is also set to zero,
preventing an assertion in `MCAssembler::writeSectionData` for the case
of `MCFragment::FT_Align` from tripping.
More information about the All-commits
mailing list