This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] Use long long to ensure 64 bits.
ClosedPublic

Authored by mpividori on Feb 6 2017, 6:43 PM.

Details

Summary

We need to always use unsigned long long to ensure 64 bits. On Windows, unsigned long is 4 bytes.
This was the reason why value-profile-cmp4.test was failing on Windows.

Diff Detail

Repository
rL LLVM

Event Timeline

mpividori created this revision.Feb 6 2017, 6:43 PM
mpividori updated this revision to Diff 87356.Feb 6 2017, 6:45 PM

@kcc do you agree with these changes?

kcc accepted this revision.Feb 7 2017, 1:18 PM

LGTM

This revision is now accepted and ready to land.Feb 7 2017, 1:18 PM
This revision was automatically updated to reflect the committed changes.