This is an archive of the discontinued LLVM Phabricator instance.

[InstrProfiling] Fix warnings when building for Windows
ClosedPublic

Authored by mstorsjo on Aug 5 2021, 11:21 PM.

Details

Summary

The Headers.CountersDelta field is an uint64_t, not a pointer,
so just cast to uint32_t to truncate it.

Diff Detail

Event Timeline

mstorsjo requested review of this revision.Aug 5 2021, 11:21 PM
mstorsjo created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptAug 5 2021, 11:21 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
MaskRay accepted this revision.Aug 6 2021, 7:56 PM

Looks great!

This revision is now accepted and ready to land.Aug 6 2021, 7:56 PM
This revision was automatically updated to reflect the committed changes.