[all-commits] [llvm/llvm-project] 2032d7: [llvm][test][CGPluginTest] Avoid __attribute__((co...
Stefan Gränitz via All-commits
all-commits at lists.llvm.org
Wed Sep 30 05:07:01 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2032d7a2f64eb37a24a997605f60713e2815cc7d
https://github.com/llvm/llvm-project/commit/2032d7a2f64eb37a24a997605f60713e2815cc7d
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M llvm/docs/WritingAnLLVMPass.md
M llvm/unittests/CodeGen/CGPluginTest/Plugin/Plugin.cpp
Log Message:
-----------
[llvm][test][CGPluginTest] Avoid __attribute__((constructor)) for MSVC (#227310)
`__attribute__((constructor))` isn't supported by MSVC. This patch
replaces the initializer function with a static object whose constructor
performs the pass registration.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list