[clang] b3c668b - [clang][docs] '#pragma clang section' is supported on Mach-O. NFC
Jon Roelofs via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 24 15:37:51 PDT 2024
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.
More information about the cfe-commits
mailing list