From b3c668b0055717633503ed26787037d9e3499781 Mon Sep 17 00:00:00 2001 From: Jon Roelofs Date: Mon, 24 Jun 2024 15:35:53 -0700 Subject: [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. --- clang/docs/LanguageExtensions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/docs') 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. -- cgit v1.1