Skip to content

Commit 5fa5517

Browse files
jroelofsAlexisPerry
authored andcommitted
[clang][docs] '#pragma clang section' is supported on Mach-O. NFC
This was added back in 7f6e331, but I forgot to update the docs that referenced it.
1 parent a9445a3 commit 5fa5517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/docs/LanguageExtensions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5345,7 +5345,7 @@ The ``#pragma clang section`` directive obeys the following rules:
53455345
53465346
* The pragma clang section is enabled automatically, without need of any flags.
53475347
5348-
* This feature is only defined to work sensibly for ELF targets.
5348+
* This feature is only defined to work sensibly for ELF and Mach-O targets.
53495349
53505350
* If section name is specified through _attribute_((section("myname"))), then
53515351
the attribute name gains precedence.

0 commit comments

Comments
 (0)