Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lldb
diff options
context:
space:
mode:
authorWalter Erquinigo <wallace@fb.com>2022-05-10 07:27:23 +0300
committerWalter Erquinigo <wallace@fb.com>2022-05-10 07:29:00 +0300
commitb6bb9e7d61fd84caf1221eeb09a743e8393fb43f (patch)
tree41148ae782e45da7c61acc19d7502045b8397295 /lldb
parentebc25292060dd641e7c10fd0e4768458b123a060 (diff)
[lldb] Fix 7b73de9ec2b19df040c919d3004dfbead9b6ac59
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.
Diffstat (limited to 'lldb')
-rw-r--r--lldb/source/Plugins/Process/Linux/IntelPTSingleBufferTrace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Linux/IntelPTSingleBufferTrace.cpp b/lldb/source/Plugins/Process/Linux/IntelPTSingleBufferTrace.cpp
index a1cd30b2fb5a..18c69d13700d 100644
--- a/lldb/source/Plugins/Process/Linux/IntelPTSingleBufferTrace.cpp
+++ b/lldb/source/Plugins/Process/Linux/IntelPTSingleBufferTrace.cpp
@@ -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) {