[all-commits] [llvm/llvm-project] 384bf5: [Driver][PS5] Set visibility option defaults (#92091)

bd1976bris via All-commits all-commits at lists.llvm.org
Mon May 20 01:48:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 384bf545a1a7d8dfd16afd20ef07eb845495bac4
      https://github.com/llvm/llvm-project/commit/384bf545a1a7d8dfd16afd20ef07eb845495bac4
  Author: bd1976bris <bd1976llvm at gmail.com>
  Date:   2024-05-20 (Mon, 20 May 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/PS4CPU.cpp
    M clang/test/Driver/ps4-ps5-visibility-dllstorageclass.c
    A clang/test/Driver/ps4-visibility.cl
    A clang/test/Driver/ps5-visibility.cl

  Log Message:
  -----------
  [Driver][PS5] Set visibility option defaults (#92091)

Adjust the PS5 driver defaults for the -fvisibility-from-dllstorageclass
sub-options so that only globals with dllimport/dllexport annotations
are adjusted. This allows globals without dllimport/export to retain
the visibility and pre-emptability assigned during IR-Gen. Set
-fvisibility=hidden on PS5 by default to compensate for no longer
overriding the visibility of definitions without dllexport. Note there
is no behavior change for PS4 (the behavior of overriding the
visibility for all globals is retained on PS4).



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