Index: lib/Fuzzer/FuzzerTracePC.cpp =================================================================== --- lib/Fuzzer/FuzzerTracePC.cpp +++ lib/Fuzzer/FuzzerTracePC.cpp @@ -138,7 +138,7 @@ sizeof(ModulePathRaw), &OffsetRaw)) continue; std::string Module = ModulePathRaw; - uintptr_t FixedPC = std::stol(FixedPCStr, 0, 16); + uintptr_t FixedPC = std::stoll(FixedPCStr, 0, 16); uintptr_t PcOffset = reinterpret_cast(OffsetRaw); ModuleOffsets[Module] = FixedPC - PcOffset; CoveredPCsPerModule[Module].push_back(PcOffset); @@ -183,7 +183,7 @@ if (PcOffsetEnd == std::string::npos) continue; S.resize(PcOffsetEnd); - uintptr_t PcOffset = std::stol(S, 0, 16); + uintptr_t PcOffset = std::stoll(S, 0, 16); if (!std::binary_search(CoveredOffsets.begin(), CoveredOffsets.end(), PcOffset)) { uintptr_t PC = ModuleOffset + PcOffset;