- Provides no piroirity supoort && disables/ignores three priority related attributes: init_priority, ctor attr, dtor attr;
- '-qunique' in xlclang compiler equivalent behavior of emitting sinit and sterm functions name using getUniqueModuleId() function in LLVM;
- Add a simple testcase to emit IR sample with sinit80000000, srterm(__dtor), and sterm80000000
Thanks for pointing this out. I believe this is a bug. I was supposed to only let Local in unregisterGlobalDtorWithUnAtExit as default value false. Because it is only used in relation to Windows.
Since we are already under the context that XLCXXABI is an AIX C++ ABI, I kinda feel it's a duplication to add OS check.