[all-commits] [llvm/llvm-project] 673e54: MC: Fix fragment-in-BSS check
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Jul 20 11:11:43 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 673e5422ea4089805afa2a2c548c85be7c228a42
https://github.com/llvm/llvm-project/commit/673e5422ea4089805afa2a2c548c85be7c228a42
Author: Fangrui Song <i at maskray.me>
Date: 2025-07-20 (Sun, 20 Jul 2025)
Changed paths:
M llvm/include/llvm/MC/MCSection.h
M llvm/include/llvm/MC/MCSectionCOFF.h
M llvm/include/llvm/MC/MCSectionELF.h
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/MC/MCSectionCOFF.cpp
M llvm/lib/MC/MCSectionELF.cpp
M llvm/test/MC/COFF/bss-text.s
M llvm/test/MC/ELF/nobits-non-zero-value.s
Log Message:
-----------
MC: Fix fragment-in-BSS check
* Handle non-zero fill values for `.fill` and `.org` directives.
* Restore the fragment type check
(5ee34ff1e5cc952116f0da943ddaeb1a71db2940 removed a reachable
`llvm_unreachable`) to detect unintended API usage.
Remove virtual functions `getVirtualSectionKind` (added in
https://reviews.llvm.org/D78138) as they are unnecessary in diagnostics.
The a.out object file format has the BSS concept, which has been
inherited by COFF, XCOFF, Mach-O, and ELF object file formats.
Pull Request: https://github.com/llvm/llvm-project/pull/149721
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list