Commit bb83f055 authored by Martin Storsjö's avatar Martin Storsjö Committed by llvmbot
Browse files

[runtimes] Prefer -fvisibility-global-new-delete=force-hidden (#84917)

27ce26b0 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 1f973efd)
parent 122ba9f1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment