[all-commits] [llvm/llvm-project] 77c230: [GOFF] Add writing of section symbols
Kai Nacke via All-commits
all-commits at lists.llvm.org
Mon Mar 31 14:11:56 PDT 2025
Branch: refs/heads/users/redstar/goffwriter-3
Home: https://github.com/llvm/llvm-project
Commit: 77c230f82a61769714bee98b2e848820850d9cb5
https://github.com/llvm/llvm-project/commit/77c230f82a61769714bee98b2e848820850d9cb5
Author: Kai Nacke <kai.peter.nacke at ibm.com>
Date: 2025-03-31 (Mon, 31 Mar 2025)
Changed paths:
M llvm/include/llvm/BinaryFormat/GOFF.h
A llvm/include/llvm/MC/MCGOFFSymbolMapper.h
M llvm/lib/MC/CMakeLists.txt
M llvm/lib/MC/GOFFObjectWriter.cpp
A llvm/lib/MC/MCGOFFSymbolMapper.cpp
M llvm/lib/MC/MCObjectFileInfo.cpp
M llvm/test/CodeGen/SystemZ/zos-ppa2.ll
A llvm/test/MC/GOFF/section.ll
Log Message:
-----------
[GOFF] Add writing of section symbols
The GOFF format uses symbol definitions to represent sections and
symbols. Introducing a section can require up to 3 symbol definitions.
However, most of these details are not needed by the AsmPrinter.
To mapped from a section (a MCSectionGOFF) to the symbol definitions,
a new class called MCGOFFSymbolMapper is used. The same information
can also be used by the assembly output, which justifies this
centralized approach. Writing the mapped symbols is then straight
forward.
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