[clang] [llvm] [PATCH] [COFF] Implement pragma clang section on COFF targets (PR #112714)
David Spickett via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 1 02:26:35 PDT 2024
================
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s -triple arm64-windows-msvc
+// expected-no-diagnostics
+#pragma clang section bss = "mybss.1" data = "mydata.1" rodata = "myrodata.1" text = "mytext.1"
+#pragma clang section bss="" data="" rodata="" text=""
+#pragma clang section
----------------
DavidSpickett wrote:
I just compared with `clang/test/Sema/pragma-clang-section-macho.c`, that has some invalid examples in it. Do you have any invalid cases for coff?
https://github.com/llvm/llvm-project/pull/112714
More information about the cfe-commits
mailing list