It turns out that the issue in
    https://lab.llvm.org/buildbot/#/builders/17/builds/21754 is that a
    size_t is attempted to be used interchangeably with uint64_t.
This commit is contained in:
Walter Erquinigo 2022-05-09 21:27:23 -07:00
parent ebc2529206
commit b6bb9e7d61
1 changed files with 1 additions and 1 deletions
lldb/source/Plugins/Process/Linux

View File

@ -148,7 +148,7 @@ static Error CheckPsbPeriod(size_t psb_period) {
#ifdef PERF_ATTR_SIZE_VER5
static Expected<uint64_t>
GeneratePerfEventConfigValue(bool enable_tsc, Optional<size_t> psb_period) {
GeneratePerfEventConfigValue(bool enable_tsc, Optional<uint64_t> psb_period) {
uint64_t config = 0;
// tsc is always supported
if (enable_tsc) {