[clang] [llvm] [Clang] -fseparate-named-sections option (PR #91028)
Petr Hosek via cfe-commits
cfe-commits at lists.llvm.org
Tue May 7 09:05:28 PDT 2024
================
@@ -221,6 +221,11 @@ New Compiler Flags
- ``-fexperimental-modules-reduced-bmi`` enables the Reduced BMI for C++20 named modules.
See the document of standard C++ modules for details.
+- ``-fseparate-named-sections`` uses separate unique sections for global
+ symbols in named special sections (i.e. symbols annotated with
+ ``__attribute__((section(...)))``. This enabled linker GC to collect unused
----------------
petrhosek wrote:
Done
https://github.com/llvm/llvm-project/pull/91028
More information about the cfe-commits
mailing list