[PATCH] D54136: Prioritize the constructor call of __local_xray_dyninit()

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 6 00:24:48 PST 2018


mgorny added a comment.

This isn't normally used on Linux since `.preinit_array` is used. If I force it, I get the following warning (from gcc):

  ../projects/compiler-rt/lib/xray/xray_init.cc:110:34: warning: constructor priorities from 0 to 100 are reserved for the implementation
   static void __local_xray_dyninit() {
                                    ^

All tests pass.


Repository:
  rL LLVM

https://reviews.llvm.org/D54136





More information about the llvm-commits mailing list