[all-commits] [llvm/llvm-project] fcc2b1: [SystemZ][z/OS] Relax check for additional symbols...

Kai Nacke via All-commits all-commits at lists.llvm.org
Wed Sep 9 12:26:40 PDT 2026


  Branch: refs/heads/users/redstar/allowtemplabel
  Home:   https://github.com/llvm/llvm-project
  Commit: fcc2b1188b0bef3c7ee873085499c29d65d7cf75
      https://github.com/llvm/llvm-project/commit/fcc2b1188b0bef3c7ee873085499c29d65d7cf75
  Author: Kai Nacke <kai.peter.nacke at ibm.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M llvm/lib/MC/MCGOFFStreamer.cpp
    A llvm/test/CodeGen/SystemZ/zos-eh.ll

  Log Message:
  -----------
  [SystemZ][z/OS] Relax check for additional symbols in PR section

The current check in `emitLabel()` is too strict. Inside a PR, there
cannot be no other external visible label. However, temporary labels
which are used e.g. for calculating offsets can be emitted.
A situation in which this occurs is the emission of the DWARF EH
tables, in which a temporary symbol (with an empty name) is emitted
at the begin of the table, causing an error message.
This change limits the error to non-temporary labels.



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