[clang] [Sema] Provide `-fno-/-fvisibility-global-new-delete` option (PR #75364)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 3 12:32:02 PST 2024


bd1976bris wrote:

@zygoloid - yes, the choice of "default" for the name of one of the visibility values in ELF is annoying :) Thanks for the comments all. I feel that what we might need is a bit of a benevolent dictator here. Does anyone object to Richard's `-fvisibility-global-new-delete=<value>` proposal - I know that `-fvisibility-global-new-delete=force-hidden` is in use so deprecating might be painful for someone. Thinking about it more critically, I think I was a bit put off by what might be involved in deprecating `-fvisibility-global-new-delete=force-hidden` and that might have coloured my view as to what to implement for this.

https://github.com/llvm/llvm-project/pull/75364


More information about the cfe-commits mailing list