[clang] [clang] Add use-sample-profile attribute to thread-local wrapper (PR #245514)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 27 10:04:50 PST 2026


================
@@ -0,0 +1,31 @@
+// Test that the MSVC constructor closures carry the "use-sample-profile"
+// attribute when sample profile is enabled, so that they are inline-compatible
+// with the constructors they forward to.
+
+// REQUIRES: x86-registered-target
----------------
efriedma-quic wrote:

This shouldn't need x86-registered-target.

Can we merge some of these tests together, or into existing test files?

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


More information about the cfe-commits mailing list