forked from OSchip/llvm-project
[lldb] Fix 7b73de9ec2
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:
parent
ebc2529206
commit
b6bb9e7d61
lldb/source/Plugins/Process/Linux
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue