projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PGO] Allow value profile writer interface to allocated target buffer
[oota-llvm.git]
/
unittests
/
ProfileData
/
InstrProfTest.cpp
diff --git
a/unittests/ProfileData/InstrProfTest.cpp
b/unittests/ProfileData/InstrProfTest.cpp
index 051bf391b9531fa76fb0e0299f2167eb3e94939a..d50944ff77fd7489f28c1d568926f0f8fa0c5863 100644
(file)
--- a/
unittests/ProfileData/InstrProfTest.cpp
+++ b/
unittests/ProfileData/InstrProfTest.cpp
@@
-409,7
+409,7
@@
TEST_F(InstrProfTest, runtime_value_prof_data_read_write) {
initializeValueProfRuntimeRecord(&RTRecord, &NumValueSites[0],
&ValueProfNodes[0]);
initializeValueProfRuntimeRecord(&RTRecord, &NumValueSites[0],
&ValueProfNodes[0]);
- ValueProfData *VPData = serializeValueProfDataFromRT(&RTRecord);
+ ValueProfData *VPData = serializeValueProfDataFromRT(&RTRecord
, 0
);
InstrProfRecord Record("caller", 0x1234, {1ULL << 31, 2});
InstrProfRecord Record("caller", 0x1234, {1ULL << 31, 2});