[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:21 PST 2024
================
@@ -49,7 +50,9 @@ class SubprocessMemoryTest : public X86TestBase {
std::string getSharedMemoryName(const unsigned TestNumber,
const unsigned DefinitionNumber) {
- return "/" + std::to_string(getSharedMemoryNumber(TestNumber)) + "memdef" +
+ long CurrentTID = syscall(SYS_gettid);
+ return "/" + std::to_string(getSharedMemoryNumber(TestNumber)) + "t" +
----------------
legrosbuffle wrote:
ditto
https://github.com/llvm/llvm-project/pull/84451
More information about the llvm-commits
mailing list