commit | 5455b4c499327c89c0f84d11155058912c22afed | [log] [tgz] |
---|---|---|
author | Wei Mi <wmi@google.com> | Sat Sep 15 00:04:15 2018 +0000 |
committer | Wei Mi <wmi@google.com> | Sat Sep 15 00:04:15 2018 +0000 |
tree | f666f631982c43ff38780b00b9345663ed03878e | |
parent | 8416bf98772e5208b101e1601723652b20f2433e [diff] |
Fix filesystem race issue in SampleProfTest introduced in rL342283. Before this fix, multiple invocations of testRoundTrip will create multiple writers which share the same file as output destination. That could introduce filesystem race issue when multiple subtests are executed concurrently. This patch assign writers with different files as their output destinations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342301 91177308-0d34-0410-b5e6-96231b3b80d8