Max Ruttenberg via llvm-dev
2016-Aug-09 14:42 UTC
[llvm-dev] constructor and destructor attributes and priority
Hi all, 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? Thanks, Max -- Max Ruttenberg, Member of the Technical Staff Emu *Technology* 1400 E Angela Blvd, Unit 101 South Bend, IN 46617 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160809/47539847/attachment.html>