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?