<div dir="ltr">Hi all,<div><br></div><div>Are users supposed to be able to assign priorities to their constructors/destructors globally or only within a C/C++ module?</div><div><br></div><div>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?</div><div><br></div><div>Thanks,</div><div>Max<br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8000001907349px">Max Ruttenberg,</span><br></div><div dir="ltr"><div style="font-size:12.8000001907349px;color:rgb(136,136,136)">Member of the Technical Staff</div><div style="font-size:12.8000001907349px;color:rgb(136,136,136)"><font color="#ff0000" face="arial black,sans-serif">Emu</font> <strong>Technology</strong></div><div style="font-size:12.8000001907349px;color:rgb(136,136,136)">1400 E Angela Blvd, Unit 101</div><div style="font-size:12.8000001907349px;color:rgb(136,136,136)">South Bend, IN 46617</div></div></div></div></div>
</div></div>