aboutsummaryrefslogtreecommitdiff
path: root/clang/docs
diff options
context:
space:
mode:
authorJon Roelofs <jonathan_roelofs@apple.com>2024-06-24 15:35:53 -0700
committerJon Roelofs <jonathan_roelofs@apple.com>2024-06-24 15:35:53 -0700
commitb3c668b0055717633503ed26787037d9e3499781 (patch)
treef6c64af3d43b7e0a5a51fa030769a394f07e5965 /clang/docs
parent5e097c79d820683b72e2bac8e56df93801ad85ec (diff)
downloadllvm-b3c668b0055717633503ed26787037d9e3499781.zip
llvm-b3c668b0055717633503ed26787037d9e3499781.tar.gz
llvm-b3c668b0055717633503ed26787037d9e3499781.tar.bz2
[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.
Diffstat (limited to 'clang/docs')
-rw-r--r--clang/docs/LanguageExtensions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst
index df80588..216ee83 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.