MCPcopy Create free account
hub / github.com/GANGE666/xVMP / readProfile

Method readProfile

src/unittests/ProfileData/SampleProfTest.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 }
53
54 void readProfile(const Module &M, StringRef Profile) {
55 auto ReaderOrErr = SampleProfileReader::create(Profile, Context);
56 ASSERT_TRUE(NoError(ReaderOrErr.getError()));
57 Reader = std::move(ReaderOrErr.get());
58 Reader->collectFuncsToUse(M);
59 }
60
61 void testRoundTrip(SampleProfileFormat Format, bool Remap) {
62 SmallVector<char, 128> ProfilePath;

Callers

nothing calls this directly

Calls 6

NoErrorFunction · 0.85
createFunction · 0.50
moveFunction · 0.50
getErrorMethod · 0.45
getMethod · 0.45
collectFuncsToUseMethod · 0.45

Tested by

no test coverage detected