[all-commits] [llvm/llvm-project] 620176: MC: Rename isVirtualSection to isBssSection

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jul 20 10:39:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6201761e961f4d7ed08352d55134e6ef58ee5eb2
      https://github.com/llvm/llvm-project/commit/6201761e961f4d7ed08352d55134e6ef58ee5eb2
  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/MCSectionGOFF.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCMachOStreamer.cpp
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/lib/MC/MCSection.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/ObjCopy/MachO/MachOObject.h
    M llvm/lib/ObjCopy/MachO/MachOWriter.cpp

  Log Message:
  -----------
  MC: Rename isVirtualSection to isBssSection

The term BSS (Block Started by Symbol) is a standard, widely recognized
term, available in the a.out object file format and adopted by formats
like COFF, XCOFF, Mach-O (called S_ZEROFILL while `__bss` is also used),
and ELF. To avoid introducing unfamiliar terms, we should use
isBSSSection instead of isVirtualSection.



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