[PATCH] D51399: [Xray] Darwin improving slightly the support

David CARLIER via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 28 22:32:43 PDT 2018


devnexen added a comment.

In https://reviews.llvm.org/D51399#1216936, @dberris wrote:

> Can you describe what the issue with `xray_init` is? Or is it because we're not setting the `XRAY_NO_PREINIT` option in Darwin / macOS?
>
> There's a set of macro checks in `lib/xray/xray_init.cc` which determine whether or not we should be using `.preinit_array`.


In fact more to try to fix undefined reference (xray_init.cc was not added to files to compile).


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D51399





More information about the llvm-commits mailing list