================ @@ -63,6 +63,10 @@ XRayArgs::XRayArgs(const ToolChain &TC, const ArgList &Args) { << XRayInstrument->getSpelling() << Triple.str(); } + if (Args.hasFlag(options::OPT_fxray_enable_shared, + options::OPT_fno_xray_enable_shared, false)) + XRayEnableShared = true; + ---------------- sebastiankreutzer wrote:
PIC is now required and tested in [clang/test/Driver/XRay/xray-enable-shared.cpp](https://github.com/llvm/llvm-project/pull/90959/files#diff-f1d4e7dfcc8404c912868e2259709fcdd7d86cff83531591a1254c2a69412066) https://github.com/llvm/llvm-project/pull/90959 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits