summaryrefslogtreecommitdiff
path: root/include/lldb/API/SBInitializerOptions.h
blob: 6128568970360d7bb6d0dc68ac7154f64923cca3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//===-- SBInitializerOptions.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_SBInitializerOptuions_h_
#define LLDB_SBInitializerOptuions_h_

#include "lldb/API/SBDefines.h"
#include "lldb/API/SBFileSpec.h"

namespace lldb_private {
struct InitializerOptions;
}

namespace lldb {

class LLDB_API SBInitializerOptions {
public:
  SBInitializerOptions();
  SBInitializerOptions(const lldb::SBInitializerOptions &rhs);
  ~SBInitializerOptions();
  const SBInitializerOptions &operator=(const lldb::SBInitializerOptions &rhs);

  void SetCaptureReproducer(bool b);
  void SetReplayReproducer(bool b);
  void SetReproducerPath(const char *path);

  lldb_private::InitializerOptions &ref() const;

private:
  friend class SBDebugger;

  std::unique_ptr<lldb_private::InitializerOptions> m_opaque_up;
};

} // namespace lldb

#endif // LLDB_SBInitializerOptuions_h_