Author: Jon Roelofs
Date: 2024-06-24T15:35:53-07:00
New Revision: b3c668b0055717633503ed26787037d9e3499781

URL: 
https://github.com/llvm/llvm-project/commit/b3c668b0055717633503ed26787037d9e3499781
DIFF: 
https://github.com/llvm/llvm-project/commit/b3c668b0055717633503ed26787037d9e3499781.diff

LOG: [clang][docs] '#pragma clang section' is supported on Mach-O. NFC

This was added back in 7f6e3316456f939a062aad0eeaac983251a1747c, but I forgot
to update the docs that referenced it.

Added: 
    

Modified: 
    clang/docs/LanguageExtensions.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/LanguageExtensions.rst 
b/clang/docs/LanguageExtensions.rst
index df80588b3fe03..216ee83d48c14 100644
--- a/clang/docs/LanguageExtensions.rst
+++ b/clang/docs/LanguageExtensions.rst
@@ -5345,7 +5345,7 @@ The ``#pragma clang section`` directive obeys the 
following rules:
 
 * The pragma clang section is enabled automatically, without need of any flags.
 
-* This feature is only defined to work sensibly for ELF targets.
+* This feature is only defined to work sensibly for ELF and Mach-O targets.
 
 * If section name is specified through _attribute_((section("myname"))), then
   the attribute name gains precedence.


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to