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

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 25 10:06:38 PST 2026


efriedma-quic wrote:

If we aren't calling SetLLVMFunctionAttributesForDefinition on some definition, that's a bug.

If an attribute makes sense on synthetic functions, the code to set it should probably not be in StartFunction.

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


More information about the cfe-commits mailing list