[clang] [compiler-rt] [XRay] Add support for instrumentation of DSOs on x86_64 (PR #90959)

Sebastian Kreutzer via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 01:42:31 PDT 2024


================
@@ -50,14 +52,72 @@ atomic_uint8_t XRayInitialized{0};
 
 // This should always be updated before XRayInitialized is updated.
 SpinMutex XRayInstrMapMutex;
-XRaySledMap XRayInstrMap;
+// XRaySledMap XRayInstrMap;
+//  Contains maps for the main executable as well as DSOs.
+// std::vector<XRaySledMap> XRayInstrMaps;
----------------
sebastiankreutzer wrote:

Will do

https://github.com/llvm/llvm-project/pull/90959


More information about the llvm-commits mailing list