[clang] [llvm] [clang] Implement pragma clang section on COFF targets (PR #112714)

Vinicius Tadeu Zein via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 22 08:05:57 PST 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
----------------
vtz wrote:

Solved with an aditional RUN command in the existing test

https://github.com/llvm/llvm-project/pull/112714


More information about the llvm-commits mailing list