[all-commits] [llvm/llvm-project] 8edf5e: [SystemZ][z/OS] Use section ordinal for temporary ...
Kai Nacke via All-commits
all-commits at lists.llvm.org
Thu Sep 24 14:35:56 PDT 2026
Branch: refs/heads/users/redstar/useordinalinsteadofindex
Home: https://github.com/llvm/llvm-project
Commit: 8edf5e0190f6e732111e734c0aedef289b904996
https://github.com/llvm/llvm-project/commit/8edf5e0190f6e732111e734c0aedef289b904996
Author: Kai Nacke <kai.peter.nacke at ibm.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M llvm/lib/MC/GOFFObjectWriter.cpp
M llvm/test/CodeGen/SystemZ/zos-section-1.ll
M llvm/test/CodeGen/SystemZ/zos-section-2.ll
M llvm/test/CodeGen/SystemZ/zos-symbol-2.ll
Log Message:
-----------
[SystemZ][z/OS] Use section ordinal for temporary symbols
A relocation involving a temporary symbol is interpreted as offset
of the symbol to the section begin. Currently, this is resolved via
the begin symbol of the section. However, that symbol may also have
the temporary flag set, and therefore has an index of 0. Since a
symbol is emitted of reach section, it is safe to use the ordinal
of the section instead, avoiding all issues with temporary symbols.
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