mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 21:55:39 +08:00
Revert "Create basic SBEnvironment class"
This reverts commit fd868f517d.
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
|
||||
#include "lldb/API/SBBreakpoint.h"
|
||||
#include "lldb/API/SBDebugger.h"
|
||||
#include "lldb/API/SBEnvironment.h"
|
||||
#include "lldb/API/SBEvent.h"
|
||||
#include "lldb/API/SBExpressionOptions.h"
|
||||
#include "lldb/API/SBFileSpec.h"
|
||||
@@ -2398,17 +2397,6 @@ void SBTarget::SetLaunchInfo(const lldb::SBLaunchInfo &launch_info) {
|
||||
m_opaque_sp->SetProcessLaunchInfo(launch_info.ref());
|
||||
}
|
||||
|
||||
SBEnvironment SBTarget::GetEnvironment() {
|
||||
LLDB_RECORD_METHOD_NO_ARGS(lldb::SBEnvironment, SBTarget, GetEnvironment);
|
||||
TargetSP target_sp(GetSP());
|
||||
|
||||
if (target_sp) {
|
||||
return LLDB_RECORD_RESULT(SBEnvironment(target_sp->GetEnvironment()));
|
||||
}
|
||||
|
||||
return LLDB_RECORD_RESULT(SBEnvironment());
|
||||
}
|
||||
|
||||
namespace lldb_private {
|
||||
namespace repro {
|
||||
|
||||
@@ -2664,7 +2652,6 @@ void RegisterMethods<SBTarget>(Registry &R) {
|
||||
LLDB_REGISTER_METHOD(lldb::SBInstructionList, SBTarget,
|
||||
GetInstructionsWithFlavor,
|
||||
(lldb::addr_t, const char *, const void *, size_t));
|
||||
LLDB_REGISTER_METHOD(lldb::SBEnvironment, SBTarget, GetEnvironment, ());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user