Skip to content

Commit 8598bcb

Browse files
1 parent 95b0187 commit 8598bcb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

compiler-rt/test/profile/Linux/instrprof-vtable-value-prof.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,9 @@
165165
//
166166
// IR: [[MERGE0]]:
167167
// IR: [[RES2:%.*]] = phi i32 [ [[RES1]], %[[MERGE1]] ], [ [[RESBB1]], %[[BB1]] ]
168-
#include <cstdio>
169-
#include <cstdlib>
168+
169+
#include <stdio.h>
170+
#include <stdlib.h>
170171
class Base {
171172
public:
172173
virtual int func(int a, int b) = 0;
@@ -195,6 +196,7 @@ __attribute__((noinline)) Base *createType(int a) {
195196
base = new Derived2();
196197
return base;
197198
}
199+
198200
int main(int argc, char **argv) {
199201
int sum = 0;
200202
for (int i = 0; i < 1000; i++) {

0 commit comments

Comments
 (0)