[llvm-dev] constructor and destructor attributes and priority
Max Ruttenberg via llvm-dev
llvm-dev at lists.llvm.org
Tue Aug 9 07:42:46 PDT 2016
Are users supposed to be able to assign priorities to their
constructors/destructors globally or only within a C/C++ module?
When I glance at some LLVM documentation/code it looks to me like the code
generator sorts the llvm.global_ctors and llvm.global_dtors for a module
before emitting them with the priorities omitted. Given that, I'm assuming
that means that the user can only control priorities within the module. Am
I correct in that assumption?
Member of the Technical Staff
1400 E Angela Blvd, Unit 101
South Bend, IN 46617
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev