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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D29617
[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.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 7 2017, 1:18 PM Closed by commit rL294390: [libFuzzer] Use long long to ensure 64 bits. (authored by mpividori). · Explain WhyFeb 7 2017, 4:14 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 87556 llvm/trunk/lib/Fuzzer/FuzzerTracePC.cpp
llvm/trunk/lib/Fuzzer/FuzzerValueBitMap.h
llvm/trunk/lib/Fuzzer/test/AbsNegAndConstant64Test.cpp
|