[all-commits] [llvm/llvm-project] 158938: Change zos-ppa1-name attr to be the name used in p...

Sean Perry via All-commits all-commits at lists.llvm.org
Mon Jul 13 07:52:53 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 158938ccba7a91e709a2bd8c607eaefd271a102b
      https://github.com/llvm/llvm-project/commit/158938ccba7a91e709a2bd8c607eaefd271a102b
  Author: Sean Perry <perry at ca.ibm.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M clang/test/CodeGen/SystemZ/zos-ppa1-name.c
    M llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
    A llvm/test/CodeGen/SystemZ/zos-ppa1-name.ll
    M llvm/test/CodeGen/SystemZ/zos-ppa1.ll

  Log Message:
  -----------
  Change zos-ppa1-name attr to be the name used in ppa1 (#208870)

Change the meaning of the `zos-ppa1-name` attribute to pass the name of
the function to use in the PPA1. The symbol name used in the PAA1 will
be:
- if the function has the `zos-ppa1-name` attribute, use that value. An
empty string will be mean don't add the name to the PPA1
- otherwise  use the function name.

The behaviour for asm labels and `#pragma map` (PR coming shortly) is to
use the function name used in the source code in the PPA1. A follow on
PR for clang will set `zos-ppa1-name` to the mangled name ignoring asm
label to implement the non-empty string part of the first bullet.



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