<div dir="ltr">Hi all,<br><br>I have been unsuccessfully trying to use Xray with shared libraries following the instructions on <a href="https://llvm.org/docs/XRay.html">https://llvm.org/docs/XRay.html</a> . When compiling and linking binaries such as a google test runner with '-fxray-instrument' I get results from any code built from the executable itself, but code from shared libraries also built with '-fxray-instrument' never appear in the results. This is all in C++, linux, x86_64<br><br>I don't see any references to restrictions or special set up for shared libraries in the docs, but I see one mention in <a href="https://reviews.llvm.org/D38226">https://reviews.llvm.org/D38226</a> saying <br><br>'<span style="color:rgb(0,0,0);font-family:"Segoe UI","Segoe UI Emoji","Segoe UI Symbol",Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">The XRay runtime currently doesn't support dynamic registration of</span><br style="margin-top:0px;color:rgb(0,0,0);font-family:"Segoe UI","Segoe UI Emoji","Segoe UI Symbol",Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:"Segoe UI","Segoe UI Emoji","Segoe UI Symbol",Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">instrumentation sleds in shared objects, which we'll start enabling in</span><br style="color:rgb(0,0,0);font-family:"Segoe UI","Segoe UI Emoji","Segoe UI Symbol",Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:"Segoe UI","Segoe UI Emoji","Segoe UI Symbol",Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">the future. That work has to happen in the back-end and in the runtime.'</span><br><br>Does this mean Xray with shared libraries is unsupported at this time?<br><br>Cheers,<br>Steve</div>