[Lldb-commits] [lldb] b6bb9e7 - [lldb] Fix 7b73de9ec2b19df040c919d3004dfbead9b6ac59
Walter Erquinigo via lldb-commits
lldb-commits at lists.llvm.org
Mon May 9 21:29:14 PDT 2022
Author: Walter Erquinigo
Date: 2022-05-09T21:29:00-07:00
New Revision: b6bb9e7d61fd84caf1221eeb09a743e8393fb43f
URL: https://github.com/llvm/llvm-project/commit/b6bb9e7d61fd84caf1221eeb09a743e8393fb43f
DIFF: https://github.com/llvm/llvm-project/commit/b6bb9e7d61fd84caf1221eeb09a743e8393fb43f.diff
LOG: [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.
Added:
Modified:
lldb/source/Plugins/Process/Linux/IntelPTSingleBufferTrace.cpp
Removed:
################################################################################
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) {
More information about the lldb-commits
mailing list