llvm/lldb/source/Core/Progress.cpp

//===-- Progress.cpp ------------------------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#include "lldb/Core/Progress.h"

#include "lldb/Core/Debugger.h"
#include "lldb/Utility/StreamString.h"
#include "llvm/Support/Signposts.h"

#include <cstdint>
#include <mutex>
#include <optional>

usingnamespacelldb;
usingnamespacelldb_private;

std::atomic<uint64_t> Progress::g_id(0);

// Instrument progress events with signposts when supported.
static llvm::ManagedStatic<llvm::SignpostEmitter> g_progress_signposts;

Progress::Progress(std::string title, std::string details,
                   std::optional<uint64_t> total,
                   lldb_private::Debugger *debugger)
    :{}

Progress::~Progress() {}

void Progress::Increment(uint64_t amount,
                         std::optional<std::string> updated_detail) {}

void Progress::ReportProgress() {}

ProgressManager::ProgressManager()
    :{}

ProgressManager::~ProgressManager() {}

void ProgressManager::Initialize() {}

void ProgressManager::Terminate() {}

bool ProgressManager::Enabled() {}

ProgressManager &ProgressManager::Instance() {}

std::optional<ProgressManager> &ProgressManager::InstanceImpl() {}

void ProgressManager::Increment(const Progress::ProgressData &progress_data) {}

void ProgressManager::Decrement(const Progress::ProgressData &progress_data) {}

void ProgressManager::ReportProgress(
    const Progress::ProgressData &progress_data, EventType type) {}

void ProgressManager::Expire(llvm::StringRef key) {}