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

Brian Cain via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 14:12:36 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;
----------------
androm3da wrote:

Please remove these commented-out declarations.

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


More information about the llvm-commits mailing list