@@ -51,11 +51,11 @@ class FunctionSequenceTest : public ::testing::Test {
51
51
public:
52
52
void SetUp () override {
53
53
bool Success;
54
- BQ = llvm ::make_unique<BufferQueue>(4096 , 1 , Success);
54
+ BQ = std ::make_unique<BufferQueue>(4096 , 1 , Success);
55
55
ASSERT_TRUE (Success);
56
56
ASSERT_EQ (BQ->getBuffer (B), BufferQueue::ErrorCode::Ok);
57
- W = llvm ::make_unique<FDRLogWriter>(B);
58
- C = llvm ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 0 );
57
+ W = std ::make_unique<FDRLogWriter>(B);
58
+ C = std ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 0 );
59
59
}
60
60
};
61
61
@@ -103,7 +103,7 @@ TEST_F(FunctionSequenceTest, BoundaryFuncIdEncoding) {
103
103
}
104
104
105
105
TEST_F (FunctionSequenceTest, ThresholdsAreEnforced) {
106
- C = llvm ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 1000 );
106
+ C = std ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 1000 );
107
107
ASSERT_TRUE (C->functionEnter (1 , 2 , 3 ));
108
108
ASSERT_TRUE (C->functionExit (1 , 2 , 3 ));
109
109
ASSERT_TRUE (C->flush ());
@@ -118,7 +118,7 @@ TEST_F(FunctionSequenceTest, ThresholdsAreEnforced) {
118
118
}
119
119
120
120
TEST_F (FunctionSequenceTest, ArgsAreHandledAndKept) {
121
- C = llvm ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 1000 );
121
+ C = std ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 1000 );
122
122
ASSERT_TRUE (C->functionEnterArg (1 , 2 , 3 , 4 ));
123
123
ASSERT_TRUE (C->functionExit (1 , 2 , 3 ));
124
124
ASSERT_TRUE (C->flush ());
@@ -138,7 +138,7 @@ TEST_F(FunctionSequenceTest, ArgsAreHandledAndKept) {
138
138
}
139
139
140
140
TEST_F (FunctionSequenceTest, PreservedCallsHaveCorrectTSC) {
141
- C = llvm ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 1000 );
141
+ C = std ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 1000 );
142
142
uint64_t TSC = 1 ;
143
143
uint16_t CPU = 0 ;
144
144
ASSERT_TRUE (C->functionEnter (1 , TSC++, CPU));
@@ -163,7 +163,7 @@ TEST_F(FunctionSequenceTest, PreservedCallsHaveCorrectTSC) {
163
163
}
164
164
165
165
TEST_F (FunctionSequenceTest, PreservedCallsSupportLargeDeltas) {
166
- C = llvm ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 1000 );
166
+ C = std ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 1000 );
167
167
uint64_t TSC = 1 ;
168
168
uint16_t CPU = 0 ;
169
169
const auto LargeDelta = uint64_t {std::numeric_limits<int32_t >::max ()};
@@ -187,7 +187,7 @@ TEST_F(FunctionSequenceTest, PreservedCallsSupportLargeDeltas) {
187
187
}
188
188
189
189
TEST_F (FunctionSequenceTest, RewindingMultipleCalls) {
190
- C = llvm ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 1000 );
190
+ C = std ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 1000 );
191
191
192
192
// First we construct an arbitrarily deep function enter/call stack.
193
193
// We also ensure that we are in the same CPU.
@@ -214,7 +214,7 @@ TEST_F(FunctionSequenceTest, RewindingMultipleCalls) {
214
214
}
215
215
216
216
TEST_F (FunctionSequenceTest, RewindingIntermediaryTailExits) {
217
- C = llvm ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 1000 );
217
+ C = std ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 1000 );
218
218
219
219
// First we construct an arbitrarily deep function enter/call stack.
220
220
// We also ensure that we are in the same CPU.
@@ -248,7 +248,7 @@ TEST_F(FunctionSequenceTest, RewindingIntermediaryTailExits) {
248
248
}
249
249
250
250
TEST_F (FunctionSequenceTest, RewindingAfterMigration) {
251
- C = llvm ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 1000 );
251
+ C = std ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 1000 );
252
252
253
253
// First we construct an arbitrarily deep function enter/call stack.
254
254
// We also ensure that we are in the same CPU.
@@ -303,13 +303,13 @@ class BufferManagementTest : public ::testing::Test {
303
303
public:
304
304
void SetUp () override {
305
305
bool Success;
306
- BQ = llvm ::make_unique<BufferQueue>(sizeof (MetadataRecord) * 5 +
306
+ BQ = std ::make_unique<BufferQueue>(sizeof (MetadataRecord) * 5 +
307
307
sizeof (FunctionRecord) * 2 ,
308
308
kBuffers , Success);
309
309
ASSERT_TRUE (Success);
310
310
ASSERT_EQ (BQ->getBuffer (B), BufferQueue::ErrorCode::Ok);
311
- W = llvm ::make_unique<FDRLogWriter>(B);
312
- C = llvm ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 0 );
311
+ W = std ::make_unique<FDRLogWriter>(B);
312
+ C = std ::make_unique<FDRController<>>(BQ.get (), B, *W, clock_gettime , 0 );
313
313
}
314
314
};
315
315
0 commit comments