[all-commits] [llvm/llvm-project] bb83f0: [runtimes] Prefer -fvisibility-global-new-delete=f...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Thu Mar 14 21:37:27 PDT 2024
Branch: refs/heads/release/18.x
Home: https://github.com/llvm/llvm-project
Commit: bb83f055091c3e1a024811658f5b76925d3963ee
https://github.com/llvm/llvm-project/commit/bb83f055091c3e1a024811658f5b76925d3963ee
Author: Martin Storsjö <martin at martin.st>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M libcxx/src/CMakeLists.txt
M libcxxabi/src/CMakeLists.txt
M libunwind/src/CMakeLists.txt
Log Message:
-----------
[runtimes] Prefer -fvisibility-global-new-delete=force-hidden (#84917)
27ce26b06655cfece3d54b30e442ef93d3e78ac7 added the new option
-fvisibility-global-new-delete=, where -fvisibility-global-new-delete=force-hidden
is equivalent to the old option -fvisibility-global-new-delete-hidden.
At the same time, the old option was deprecated.
Test for and use the new option form first; if unsupported, try
using the old form.
This avoids warnings in the MinGW builds, if built with Clang 18 or
newer.
(cherry picked from commit 1f973efd335f34c75fcba1ccbe288fd5ece15a64)
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