[llvm] [llvm-exegesis] Add thread IDs to subprocess memory names (PR #84451)

Clement Courbet via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 03:22:22 PST 2024


================
@@ -47,7 +57,8 @@ Error SubprocessMemory::addMemoryDefinition(
     pid_t ProcessPID) {
   SharedMemoryNames.reserve(MemoryDefinitions.size());
   for (auto &[Name, MemVal] : MemoryDefinitions) {
-    std::string SharedMemoryName = "/" + std::to_string(ProcessPID) + "memdef" +
+    std::string SharedMemoryName = "/" + std::to_string(ProcessPID) + "t" +
----------------
legrosbuffle wrote:

ditto

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


More information about the llvm-commits mailing list