[Lldb-commits] [lldb] [LLDB] Add SBProgress so Python scripts can also report progress (PR #119052)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 9 08:50:57 PST 2024


================
@@ -0,0 +1,56 @@
+//===-- SBProgress.h --------------------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLDB_API_SBPROGRESS_H
+#define LLDB_API_SBPROGRESS_H
+
+#include "lldb/API/SBDebugger.h"
+#include "lldb/API/SBDefines.h"
+
+namespace lldb {
+
+/// A SB API Wrapper around lldb_private::Progress
----------------
JDevlieghere wrote:

I hate recommending to duplicate anything, but the class should have the same (user facing) documentation as the docstring. 

https://github.com/llvm/llvm-project/pull/119052


More information about the lldb-commits mailing list