LLVM 22.0.0git
llvm::AsmPrinter::Structor Struct Reference

llvm.global_ctors and llvm.global_dtors are arrays of Structor structs. More...

#include "llvm/CodeGen/AsmPrinter.h"

Public Member Functions

 Structor ()=default

Public Attributes

int Priority = 0
ConstantFunc = nullptr
GlobalValueComdatKey = nullptr

Detailed Description

llvm.global_ctors and llvm.global_dtors are arrays of Structor structs.

Priority - init priority Func - global initialization or global clean-up function ComdatKey - associated data

Definition at line 536 of file AsmPrinter.h.

Constructor & Destructor Documentation

◆ Structor()

llvm::AsmPrinter::Structor::Structor ( )
default

Member Data Documentation

◆ ComdatKey

GlobalValue* llvm::AsmPrinter::Structor::ComdatKey = nullptr

Definition at line 539 of file AsmPrinter.h.

Referenced by llvm::AsmPrinter::preprocessXXStructorList().

◆ Func

Constant* llvm::AsmPrinter::Structor::Func = nullptr

Definition at line 538 of file AsmPrinter.h.

Referenced by llvm::AsmPrinter::preprocessXXStructorList().

◆ Priority

int llvm::AsmPrinter::Structor::Priority = 0

Definition at line 537 of file AsmPrinter.h.

Referenced by llvm::AsmPrinter::preprocessXXStructorList().


The documentation for this struct was generated from the following file: