[all-commits] [llvm/llvm-project] fde6a3: gn build: Use -fvisibility-global-new-delete=force...

pcc via All-commits all-commits at lists.llvm.org
Mon Jun 3 17:16:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fde6a37113150b49c5d4ba2cc5f342ffadf8e59c
      https://github.com/llvm/llvm-project/commit/fde6a37113150b49c5d4ba2cc5f342ffadf8e59c
  Author: pcc <peter at pcc.me.uk>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M llvm/utils/gn/secondary/libcxx/src/BUILD.gn
    M llvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
    M llvm/utils/gn/secondary/libunwind/src/BUILD.gn

  Log Message:
  -----------
  gn build: Use -fvisibility-global-new-delete=force-hidden to build libcxx/libcxxabi/libunwind.

-fvisibility-global-new-delete-hidden is deprecated and clang was warning
about it on every build command. These libraries are always built using
a stage2 compiler, so we can use the new build flag unconditionally.

Reviewers: aeubanks

Reviewed By: aeubanks

Pull Request: https://github.com/llvm/llvm-project/pull/88459



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