diff options
author | Andy Kaylor <akaylor@nvidia.com> | 2025-10-13 17:07:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-13 17:07:05 -0700 |
commit | 645745f9de7ea7bfc63848bf900dc424896a37e9 (patch) | |
tree | 17b69cbeee7573bb64418eda5c6ef5d0558d3df6 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 472ee437b832270168e3625f5cd1a8df62897896 (diff) | |
download | llvm-645745f9de7ea7bfc63848bf900dc424896a37e9.zip llvm-645745f9de7ea7bfc63848bf900dc424896a37e9.tar.gz llvm-645745f9de7ea7bfc63848bf900dc424896a37e9.tar.bz2 |
[CIR] Add support for global ctor/dtor attributes (#163247)
This adds support for adding the `global_ctor` or `global_dtor`
attribute to the CIR representation of functions defined with
`__attribute__((constructor))` or `__attribute__((destructor))` and
adding them to the `@llvm.global_ctors` or `@llvm.global_dtors` list
during lowering to LLVM IR.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions