Vendor import of lldb trunk r306956:
https://llvm.org/svn/llvm-project/lldb/trunk@306956
This commit is contained in:
parent
fdea456ad8
commit
1b306c26ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/lldb/dist/; revision=320543 svn path=/vendor/lldb/lldb-trunk-r306956/; revision=320544; tag=vendor/lldb/lldb-trunk-r306956
@ -26,8 +26,8 @@
|
||||
#include "lldb/Breakpoint/Stoppoint.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/SearchFilter.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Utility/StringList.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
@ -17,9 +17,9 @@
|
||||
|
||||
// Other libraries and framework includes
|
||||
// Project includes
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Utility/Baton.h"
|
||||
#include "lldb/Utility/StringList.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
namespace lldb_private {
|
||||
|
@ -11,9 +11,9 @@
|
||||
#define liblldb_Event_h_
|
||||
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Host/Predicate.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
#include "lldb/lldb-defines.h" // for DISALLOW_COPY_AND_ASSIGN
|
||||
#include "lldb/lldb-forward.h" // for EventDataSP, ProcessSP, Struct...
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#define liblldb_SearchFilter_h_
|
||||
|
||||
#include "lldb/Core/FileSpecList.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
#include "lldb/Utility/FileSpec.h" // for FileSpec
|
||||
#include "lldb/lldb-forward.h" // for SearchFilterSP, TargetSP, Modu...
|
||||
|
@ -11,10 +11,10 @@
|
||||
#define liblldb_StructuredDataImpl_h_
|
||||
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Target/StructuredDataPlugin.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
#include "lldb/lldb-forward.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
@ -24,8 +24,8 @@
|
||||
#include "lldb/lldb-public.h"
|
||||
|
||||
#include "lldb/Core/FormatEntity.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
namespace lldb_private {
|
||||
class TypeSummaryOptions {
|
||||
|
@ -25,8 +25,8 @@
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
#include "lldb/lldb-public.h"
|
||||
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
namespace lldb_private {
|
||||
class SyntheticChildrenFrontEnd {
|
||||
|
@ -10,8 +10,8 @@
|
||||
#ifndef liblldb_File_h_
|
||||
#define liblldb_File_h_
|
||||
|
||||
#include "lldb/Host/IOObject.h"
|
||||
#include "lldb/Host/PosixApi.h"
|
||||
#include "lldb/Utility/IOObject.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
|
@ -238,6 +238,9 @@ class Host {
|
||||
uint32_t line_no);
|
||||
|
||||
static size_t GetEnvironment(StringList &env);
|
||||
|
||||
static std::unique_ptr<Connection>
|
||||
CreateDefaultConnection(llvm::StringRef url);
|
||||
};
|
||||
|
||||
} // namespace lldb_private
|
||||
|
@ -10,12 +10,10 @@
|
||||
#ifndef lldb_Host_posix_MainLoopBase_h_
|
||||
#define lldb_Host_posix_MainLoopBase_h_
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
|
||||
#include "lldb/Host/IOObject.h"
|
||||
#include "lldb/Utility/IOObject.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include <functional>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
@ -15,9 +15,9 @@
|
||||
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
#include "lldb/Host/IOObject.h"
|
||||
#include "lldb/Host/Predicate.h"
|
||||
#include "lldb/Host/SocketAddress.h"
|
||||
#include "lldb/Utility/IOObject.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
|
@ -24,8 +24,8 @@
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
|
||||
// Project includes
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
namespace lldb_private {
|
||||
|
@ -10,10 +10,10 @@
|
||||
#ifndef liblldb_NativeProcessProtocol_h_
|
||||
#define liblldb_NativeProcessProtocol_h_
|
||||
|
||||
#include "lldb/Core/TraceOptions.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/MainLoop.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/TraceOptions.h"
|
||||
#include "lldb/lldb-private-forward.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
@ -333,7 +333,7 @@ class NativeProcessProtocol
|
||||
//------------------------------------------------------------------
|
||||
/// StopTracing API as the name suggests stops a tracing instance.
|
||||
///
|
||||
/// @param[in] uid
|
||||
/// @param[in] traceid
|
||||
/// The user id of the trace intended to be stopped. Now a
|
||||
/// user_id may map to multiple threads in which case this API
|
||||
/// could be used to stop the tracing for a specific thread by
|
||||
@ -346,7 +346,7 @@ class NativeProcessProtocol
|
||||
/// @return
|
||||
/// Status indicating what went wrong.
|
||||
//------------------------------------------------------------------
|
||||
virtual Status StopTrace(lldb::user_id_t uid,
|
||||
virtual Status StopTrace(lldb::user_id_t traceid,
|
||||
lldb::tid_t thread = LLDB_INVALID_THREAD_ID) {
|
||||
return Status("Not implemented");
|
||||
}
|
||||
@ -355,8 +355,8 @@ class NativeProcessProtocol
|
||||
/// This API provides the trace data collected in the form of raw
|
||||
/// data.
|
||||
///
|
||||
/// @param[in] uid thread
|
||||
/// The uid and thread provide the context for the trace
|
||||
/// @param[in] traceid thread
|
||||
/// The traceid and thread provide the context for the trace
|
||||
/// instance.
|
||||
///
|
||||
/// @param[in] buffer
|
||||
@ -372,7 +372,7 @@ class NativeProcessProtocol
|
||||
/// @return
|
||||
/// The size of the data actually read.
|
||||
//------------------------------------------------------------------
|
||||
virtual Status GetData(lldb::user_id_t uid, lldb::tid_t thread,
|
||||
virtual Status GetData(lldb::user_id_t traceid, lldb::tid_t thread,
|
||||
llvm::MutableArrayRef<uint8_t> &buffer,
|
||||
size_t offset = 0) {
|
||||
return Status("Not implemented");
|
||||
@ -382,7 +382,7 @@ class NativeProcessProtocol
|
||||
/// Similar API as above except it aims to provide any extra data
|
||||
/// useful for decoding the actual trace data.
|
||||
//------------------------------------------------------------------
|
||||
virtual Status GetMetaData(lldb::user_id_t uid, lldb::tid_t thread,
|
||||
virtual Status GetMetaData(lldb::user_id_t traceid, lldb::tid_t thread,
|
||||
llvm::MutableArrayRef<uint8_t> &buffer,
|
||||
size_t offset = 0) {
|
||||
return Status("Not implemented");
|
||||
@ -391,7 +391,7 @@ class NativeProcessProtocol
|
||||
//------------------------------------------------------------------
|
||||
/// API to query the TraceOptions for a given user id
|
||||
///
|
||||
/// @param[in] uid
|
||||
/// @param[in] traceid
|
||||
/// The user id of the tracing instance.
|
||||
///
|
||||
/// @param[in] config
|
||||
@ -405,7 +405,7 @@ class NativeProcessProtocol
|
||||
/// @param[out] config
|
||||
/// The actual configuration being used for tracing.
|
||||
//------------------------------------------------------------------
|
||||
virtual Status GetTraceConfig(lldb::user_id_t uid, TraceOptions &config) {
|
||||
virtual Status GetTraceConfig(lldb::user_id_t traceid, TraceOptions &config) {
|
||||
return Status("Not implemented");
|
||||
}
|
||||
|
||||
|
@ -22,6 +22,9 @@ getProcFile(::pid_t pid, ::pid_t tid, const llvm::Twine &file);
|
||||
llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>>
|
||||
getProcFile(::pid_t pid, const llvm::Twine &file);
|
||||
|
||||
llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>>
|
||||
getProcFile(const llvm::Twine &file);
|
||||
|
||||
} // namespace lldb_private
|
||||
|
||||
#endif // #ifndef LLDB_HOST_LINUX_SUPPORT_H
|
||||
|
@ -19,10 +19,10 @@
|
||||
|
||||
// Other libraries and framework includes
|
||||
// Project includes
|
||||
#include "lldb/Core/Connection.h"
|
||||
#include "lldb/Host/IOObject.h"
|
||||
#include "lldb/Host/Pipe.h"
|
||||
#include "lldb/Host/Predicate.h"
|
||||
#include "lldb/Utility/Connection.h"
|
||||
#include "lldb/Utility/IOObject.h"
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
@ -10,8 +10,8 @@
|
||||
#ifndef liblldb_Host_windows_ConnectionGenericFileWindows_h_
|
||||
#define liblldb_Host_windows_ConnectionGenericFileWindows_h_
|
||||
|
||||
#include "lldb/Core/Connection.h"
|
||||
#include "lldb/Host/windows/windows.h"
|
||||
#include "lldb/Utility/Connection.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
||||
namespace lldb_private {
|
||||
|
@ -19,8 +19,8 @@
|
||||
#include "lldb/Breakpoint/BreakpointOptions.h"
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/PluginInterface.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
#include "lldb/Host/PseudoTerminal.h"
|
||||
|
||||
|
@ -34,10 +34,11 @@ namespace lldb_private {
|
||||
|
||||
class DWARFCallFrameInfo {
|
||||
public:
|
||||
DWARFCallFrameInfo(ObjectFile &objfile, lldb::SectionSP §ion,
|
||||
lldb::RegisterKind reg_kind, bool is_eh_frame);
|
||||
enum Type { EH, DWARF };
|
||||
|
||||
~DWARFCallFrameInfo();
|
||||
DWARFCallFrameInfo(ObjectFile &objfile, lldb::SectionSP §ion, Type type);
|
||||
|
||||
~DWARFCallFrameInfo() = default;
|
||||
|
||||
// Locate an AddressRange that includes the provided Address in this
|
||||
// object's eh_frame/debug_info
|
||||
@ -74,12 +75,20 @@ class DWARFCallFrameInfo {
|
||||
|
||||
private:
|
||||
enum { CFI_AUG_MAX_SIZE = 8, CFI_HEADER_SIZE = 8 };
|
||||
enum CFIVersion {
|
||||
CFI_VERSION1 = 1, // DWARF v.2
|
||||
CFI_VERSION3 = 3, // DWARF v.3
|
||||
CFI_VERSION4 = 4 // DWARF v.4, v.5
|
||||
};
|
||||
|
||||
struct CIE {
|
||||
dw_offset_t cie_offset;
|
||||
uint8_t version;
|
||||
char augmentation[CFI_AUG_MAX_SIZE]; // This is typically empty or very
|
||||
// short.
|
||||
uint8_t address_size = sizeof(uint32_t); // The size of a target address.
|
||||
uint8_t segment_size = 0; // The size of a segment selector.
|
||||
|
||||
uint32_t code_align;
|
||||
int32_t data_align;
|
||||
uint32_t return_addr_reg_num;
|
||||
@ -134,21 +143,24 @@ class DWARFCallFrameInfo {
|
||||
|
||||
ObjectFile &m_objfile;
|
||||
lldb::SectionSP m_section_sp;
|
||||
lldb::RegisterKind m_reg_kind;
|
||||
Flags m_flags;
|
||||
Flags m_flags = 0;
|
||||
cie_map_t m_cie_map;
|
||||
|
||||
DataExtractor m_cfi_data;
|
||||
bool m_cfi_data_initialized; // only copy the section into the DE once
|
||||
bool m_cfi_data_initialized = false; // only copy the section into the DE once
|
||||
|
||||
FDEEntryMap m_fde_index;
|
||||
bool m_fde_index_initialized; // only scan the section for FDEs once
|
||||
bool m_fde_index_initialized = false; // only scan the section for FDEs once
|
||||
std::mutex m_fde_index_mutex; // and isolate the thread that does it
|
||||
|
||||
bool m_is_eh_frame;
|
||||
Type m_type;
|
||||
|
||||
CIESP
|
||||
ParseCIE(const uint32_t cie_offset);
|
||||
|
||||
lldb::RegisterKind GetRegisterKind() const {
|
||||
return m_type == EH ? lldb::eRegisterKindEHFrame : lldb::eRegisterKindDWARF;
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace lldb_private
|
||||
|
@ -99,6 +99,13 @@ class FuncUnwinders {
|
||||
Thread &thread,
|
||||
int current_offset);
|
||||
|
||||
lldb::UnwindPlanSP GetDebugFrameUnwindPlan(Target &target,
|
||||
int current_offset);
|
||||
|
||||
lldb::UnwindPlanSP GetDebugFrameAugmentedUnwindPlan(Target &target,
|
||||
Thread &thread,
|
||||
int current_offset);
|
||||
|
||||
lldb::UnwindPlanSP GetCompactUnwindUnwindPlan(Target &target,
|
||||
int current_offset);
|
||||
|
||||
@ -126,10 +133,12 @@ class FuncUnwinders {
|
||||
|
||||
lldb::UnwindPlanSP m_unwind_plan_assembly_sp;
|
||||
lldb::UnwindPlanSP m_unwind_plan_eh_frame_sp;
|
||||
lldb::UnwindPlanSP m_unwind_plan_eh_frame_augmented_sp; // augmented by
|
||||
// assembly inspection
|
||||
// so it's valid
|
||||
// everywhere
|
||||
lldb::UnwindPlanSP m_unwind_plan_debug_frame_sp;
|
||||
|
||||
// augmented by assembly inspection so it's valid everywhere
|
||||
lldb::UnwindPlanSP m_unwind_plan_eh_frame_augmented_sp;
|
||||
lldb::UnwindPlanSP m_unwind_plan_debug_frame_augmented_sp;
|
||||
|
||||
std::vector<lldb::UnwindPlanSP> m_unwind_plan_compact_unwind;
|
||||
lldb::UnwindPlanSP m_unwind_plan_arm_unwind_sp;
|
||||
lldb::UnwindPlanSP m_unwind_plan_fast_sp;
|
||||
@ -139,7 +148,9 @@ class FuncUnwinders {
|
||||
// Fetching the UnwindPlans can be expensive - if we've already attempted
|
||||
// to get one & failed, don't try again.
|
||||
bool m_tried_unwind_plan_assembly : 1, m_tried_unwind_plan_eh_frame : 1,
|
||||
m_tried_unwind_plan_debug_frame : 1,
|
||||
m_tried_unwind_plan_eh_frame_augmented : 1,
|
||||
m_tried_unwind_plan_debug_frame_augmented : 1,
|
||||
m_tried_unwind_plan_compact_unwind : 1,
|
||||
m_tried_unwind_plan_arm_unwind : 1, m_tried_unwind_fast : 1,
|
||||
m_tried_unwind_arch_default : 1,
|
||||
|
@ -27,6 +27,7 @@ class UnwindTable {
|
||||
~UnwindTable();
|
||||
|
||||
lldb_private::DWARFCallFrameInfo *GetEHFrameInfo();
|
||||
lldb_private::DWARFCallFrameInfo *GetDebugFrameInfo();
|
||||
|
||||
lldb_private::CompactUnwindInfo *GetCompactUnwindInfo();
|
||||
|
||||
@ -58,6 +59,8 @@ class UnwindTable {
|
||||
void Dump(Stream &s);
|
||||
|
||||
void Initialize();
|
||||
llvm::Optional<AddressRange> GetAddressRange(const Address &addr,
|
||||
SymbolContext &sc);
|
||||
|
||||
typedef std::map<lldb::addr_t, lldb::FuncUnwindersSP> collection;
|
||||
typedef collection::iterator iterator;
|
||||
@ -70,6 +73,7 @@ class UnwindTable {
|
||||
std::mutex m_mutex;
|
||||
|
||||
std::unique_ptr<DWARFCallFrameInfo> m_eh_frame_up;
|
||||
std::unique_ptr<DWARFCallFrameInfo> m_debug_frame_up;
|
||||
std::unique_ptr<CompactUnwindInfo> m_compact_unwind_up;
|
||||
std::unique_ptr<ArmUnwindInfo> m_arm_unwind_up;
|
||||
|
||||
|
@ -92,6 +92,16 @@ class ABI : public PluginInterface {
|
||||
virtual lldb::ValueObjectSP
|
||||
GetReturnValueObjectImpl(Thread &thread, llvm::Type &ir_type) const;
|
||||
|
||||
//------------------------------------------------------------------
|
||||
/// Request to get a Process shared pointer.
|
||||
///
|
||||
/// This ABI object may not have been created with a Process object,
|
||||
/// or the Process object may no longer be alive. Be sure to handle
|
||||
/// the case where the shared pointer returned does not have an
|
||||
/// object inside it.
|
||||
//------------------------------------------------------------------
|
||||
lldb::ProcessSP GetProcessSP() const { return m_process_wp.lock(); }
|
||||
|
||||
public:
|
||||
virtual bool CreateFunctionEntryUnwindPlan(UnwindPlan &unwind_plan) = 0;
|
||||
|
||||
@ -131,13 +141,18 @@ class ABI : public PluginInterface {
|
||||
|
||||
virtual bool GetPointerReturnRegister(const char *&name) { return false; }
|
||||
|
||||
static lldb::ABISP FindPlugin(const ArchSpec &arch);
|
||||
static lldb::ABISP FindPlugin(lldb::ProcessSP process_sp, const ArchSpec &arch);
|
||||
|
||||
protected:
|
||||
//------------------------------------------------------------------
|
||||
// Classes that inherit from ABI can see and modify these
|
||||
//------------------------------------------------------------------
|
||||
ABI();
|
||||
ABI(lldb::ProcessSP process_sp) {
|
||||
if (process_sp.get())
|
||||
m_process_wp = process_sp;
|
||||
}
|
||||
|
||||
lldb::ProcessWP m_process_wp;
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(ABI);
|
||||
|
@ -18,7 +18,7 @@
|
||||
// Other libraries and framework includes
|
||||
// Project includes
|
||||
#include "lldb/Core/PluginInterface.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
#include "lldb/lldb-forward.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
#include "lldb/lldb-types.h"
|
||||
|
@ -16,8 +16,8 @@
|
||||
|
||||
// Other libraries and framework includes
|
||||
// Project includes
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Target/StopInfo.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
@ -34,9 +34,7 @@
|
||||
#include "lldb/Core/Listener.h"
|
||||
#include "lldb/Core/LoadedModuleInfoList.h"
|
||||
#include "lldb/Core/PluginInterface.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Core/ThreadSafeValue.h"
|
||||
#include "lldb/Core/TraceOptions.h"
|
||||
#include "lldb/Core/UserSettingsController.h"
|
||||
#include "lldb/Host/HostThread.h"
|
||||
#include "lldb/Host/ProcessRunLock.h"
|
||||
@ -50,6 +48,8 @@
|
||||
#include "lldb/Target/ThreadList.h"
|
||||
#include "lldb/Utility/NameMatches.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
#include "lldb/Utility/TraceOptions.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
|
@ -16,8 +16,8 @@
|
||||
|
||||
// Other libraries and framework includes
|
||||
// Project includes
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
#include "lldb/lldb-public.h"
|
||||
|
||||
namespace lldb_private {
|
||||
|
@ -11,7 +11,7 @@
|
||||
#define StructuredDataPlugin_h
|
||||
|
||||
#include "lldb/Core/PluginInterface.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
@ -18,10 +18,10 @@
|
||||
|
||||
#include "lldb/Core/ModuleList.h"
|
||||
#include "lldb/Core/PluginInterface.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Target/QueueItem.h"
|
||||
#include "lldb/Target/QueueList.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
#include "lldb/lldb-public.h"
|
||||
|
||||
|
@ -21,11 +21,11 @@
|
||||
// Project includes
|
||||
#include "lldb/Core/Broadcaster.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Core/UserSettingsController.h"
|
||||
#include "lldb/Target/ExecutionContextScope.h"
|
||||
#include "lldb/Target/RegisterCheckpoint.h"
|
||||
#include "lldb/Target/StackFrameList.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
#include "lldb/Utility/UserID.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
|
@ -17,13 +17,13 @@
|
||||
|
||||
// Other libraries and framework includes
|
||||
// Project includes
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Target/StopInfo.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Target/Thread.h"
|
||||
#include "lldb/Target/ThreadPlan.h"
|
||||
#include "lldb/Target/ThreadPlanTracer.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
#include "lldb/Utility/UserID.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
|
||||
|
@ -10,13 +10,9 @@
|
||||
#ifndef liblldb_ThreadSpec_h_
|
||||
#define liblldb_ThreadSpec_h_
|
||||
|
||||
// C Includes
|
||||
// C++ Includes
|
||||
#include <string>
|
||||
|
||||
// Other libraries and framework includes
|
||||
// Project includes
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
#include "lldb/lldb-private.h"
|
||||
#include <string>
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
|
@ -31,7 +31,7 @@ template <typename Ratio> class Timeout;
|
||||
namespace lldb_private {
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
/// @class Connection Connection.h "lldb/Core/Connection.h"
|
||||
/// @class Connection Connection.h "lldb/Utility/Connection.h"
|
||||
/// @brief A communication connection class.
|
||||
///
|
||||
/// A class that implements that actual communication functions for
|
||||
@ -48,7 +48,7 @@ class Connection {
|
||||
//------------------------------------------------------------------
|
||||
/// Default constructor
|
||||
//------------------------------------------------------------------
|
||||
Connection();
|
||||
Connection() = default;
|
||||
|
||||
//------------------------------------------------------------------
|
||||
/// Virtual destructor since this class gets subclassed and handed
|
||||
@ -56,8 +56,6 @@ class Connection {
|
||||
//------------------------------------------------------------------
|
||||
virtual ~Connection();
|
||||
|
||||
static Connection *CreateDefaultConnection(const char *url);
|
||||
|
||||
//------------------------------------------------------------------
|
||||
/// Connect using the connect string \a url.
|
||||
///
|
@ -32,7 +32,7 @@ class IOObject {
|
||||
|
||||
IOObject(FDType type, bool should_close)
|
||||
: m_fd_type(type), m_should_close_fd(should_close) {}
|
||||
virtual ~IOObject() {}
|
||||
virtual ~IOObject();
|
||||
|
||||
virtual Status Read(void *buf, size_t &num_bytes) = 0;
|
||||
virtual Status Write(const void *buf, size_t &num_bytes) = 0;
|
||||
@ -51,6 +51,6 @@ class IOObject {
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(IOObject);
|
||||
};
|
||||
}
|
||||
} // namespace lldb_private
|
||||
|
||||
#endif
|
@ -269,7 +269,7 @@ class JSONParser : public StringExtractor {
|
||||
EndOfFile
|
||||
};
|
||||
|
||||
JSONParser(const char *cstr);
|
||||
JSONParser(llvm::StringRef data);
|
||||
|
||||
int GetEscapedChar(bool &was_escaped);
|
||||
|
||||
|
@ -16,6 +16,9 @@
|
||||
#include "lldb/Utility/FileSpec.h" // for FileSpec
|
||||
#include "lldb/lldb-enumerations.h" // for StructuredDataType
|
||||
|
||||
#include <cassert> // for assert
|
||||
#include <cstddef> // for size_t
|
||||
#include <cstdint> // for uint64_t
|
||||
#include <functional>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
@ -24,10 +27,6 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <assert.h> // for assert
|
||||
#include <stddef.h> // for size_t
|
||||
#include <stdint.h> // for uint64_t
|
||||
|
||||
namespace lldb_private {
|
||||
class Status;
|
||||
}
|
||||
@ -38,7 +37,7 @@ class Stream;
|
||||
namespace lldb_private {
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
/// @class StructuredData StructuredData.h "lldb/Core/StructuredData.h"
|
||||
/// @class StructuredData StructuredData.h "lldb/Utility/StructuredData.h"
|
||||
/// @brief A class which can hold structured data
|
||||
///
|
||||
/// The StructuredData class is designed to hold the data from a JSON
|
||||
@ -94,10 +93,9 @@ class StructuredData {
|
||||
}
|
||||
|
||||
Dictionary *GetAsDictionary() {
|
||||
return (
|
||||
(m_type == lldb::eStructuredDataTypeDictionary)
|
||||
? static_cast<Dictionary *>(this)
|
||||
: nullptr);
|
||||
return ((m_type == lldb::eStructuredDataTypeDictionary)
|
||||
? static_cast<Dictionary *>(this)
|
||||
: nullptr);
|
||||
}
|
||||
|
||||
Integer *GetAsInteger() {
|
||||
@ -302,8 +300,8 @@ class StructuredData {
|
||||
|
||||
class Float : public Object {
|
||||
public:
|
||||
Float(double d = 0.0) : Object(lldb::eStructuredDataTypeFloat),
|
||||
m_value(d) {}
|
||||
Float(double d = 0.0)
|
||||
: Object(lldb::eStructuredDataTypeFloat), m_value(d) {}
|
||||
|
||||
~Float() override = default;
|
||||
|
||||
@ -319,8 +317,8 @@ class StructuredData {
|
||||
|
||||
class Boolean : public Object {
|
||||
public:
|
||||
Boolean(bool b = false) : Object(lldb::eStructuredDataTypeBoolean),
|
||||
m_value(b) {}
|
||||
Boolean(bool b = false)
|
||||
: Object(lldb::eStructuredDataTypeBoolean), m_value(b) {}
|
||||
|
||||
~Boolean() override = default;
|
||||
|
||||
@ -338,8 +336,7 @@ class StructuredData {
|
||||
public:
|
||||
String() : Object(lldb::eStructuredDataTypeString) {}
|
||||
explicit String(llvm::StringRef S)
|
||||
: Object(lldb::eStructuredDataTypeString),
|
||||
m_value(S) {}
|
||||
: Object(lldb::eStructuredDataTypeString), m_value(S) {}
|
||||
|
||||
void SetValue(llvm::StringRef S) { m_value = S; }
|
||||
|
||||
@ -353,8 +350,7 @@ class StructuredData {
|
||||
|
||||
class Dictionary : public Object {
|
||||
public:
|
||||
Dictionary() : Object(lldb::eStructuredDataTypeDictionary),
|
||||
m_dict() {}
|
||||
Dictionary() : Object(lldb::eStructuredDataTypeDictionary), m_dict() {}
|
||||
|
||||
~Dictionary() override = default;
|
||||
|
@ -12,27 +12,15 @@
|
||||
|
||||
#include "lldb/lldb-defines.h" // for DISALLOW_COPY_AND_ASSIGN
|
||||
#include "llvm/Support/Chrono.h"
|
||||
|
||||
#include <atomic>
|
||||
|
||||
#include <stdint.h> // for uint32_t
|
||||
|
||||
namespace lldb_private {
|
||||
class Stream;
|
||||
}
|
||||
|
||||
namespace lldb_private {
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
/// @class Timer Timer.h "lldb/Core/Timer.h"
|
||||
/// @class Timer Timer.h "lldb/Utility/Timer.h"
|
||||
/// @brief A timer class that simplifies common timing metrics.
|
||||
///
|
||||
/// A scoped timer class that allows a variety of pthread mutex
|
||||
/// objects to have a mutex locked when a Timer::Locker
|
||||
/// object is created, and unlocked when it goes out of scope or
|
||||
/// when the Timer::Locker::Reset(pthread_mutex_t *)
|
||||
/// is called. This provides an exception safe way to lock a mutex
|
||||
/// in a scope.
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
class Timer {
|
@ -13,7 +13,7 @@
|
||||
#include "lldb/lldb-defines.h"
|
||||
#include "lldb/lldb-enumerations.h"
|
||||
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
namespace lldb_private {
|
||||
class TraceOptions {
|
@ -456,6 +456,7 @@ enum InstrumentationRuntimeType {
|
||||
eInstrumentationRuntimeTypeThreadSanitizer = 0x0001,
|
||||
eInstrumentationRuntimeTypeUndefinedBehaviorSanitizer = 0x0002,
|
||||
eInstrumentationRuntimeTypeMainThreadChecker = 0x0003,
|
||||
eInstrumentationRuntimeTypeSwiftRuntimeReporting = 0x0004,
|
||||
eNumInstrumentationRuntimeTypes
|
||||
};
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include <set>
|
||||
|
||||
namespace lldb_private {
|
||||
typedef lldb::ABISP (*ABICreateInstance)(const ArchSpec &arch);
|
||||
typedef lldb::ABISP (*ABICreateInstance)(lldb::ProcessSP process_sp, const ArchSpec &arch);
|
||||
typedef Disassembler *(*DisassemblerCreateInstance)(const ArchSpec &arch,
|
||||
const char *flavor);
|
||||
typedef DynamicLoader *(*DynamicLoaderCreateInstance)(Process *process,
|
||||
|
@ -744,7 +744,7 @@
|
||||
4CF3D80C15AF4DC800845BF3 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EDB919B414F6F10D008FF64B /* Security.framework */; };
|
||||
4CF52AF51428291E0051E832 /* SBFileSpecList.h in Headers */ = {isa = PBXBuildFile; fileRef = 4CF52AF41428291E0051E832 /* SBFileSpecList.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
4CF52AF8142829390051E832 /* SBFileSpecList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4CF52AF7142829390051E832 /* SBFileSpecList.cpp */; };
|
||||
54067BF11DF2041B00749AA5 /* UndefinedBehaviorSanitizerRuntime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 54067BEC1DF2034B00749AA5 /* UndefinedBehaviorSanitizerRuntime.cpp */; };
|
||||
54067BF11DF2041B00749AA5 /* UBSanRuntime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 54067BEC1DF2034B00749AA5 /* UBSanRuntime.cpp */; };
|
||||
6D0F61431C80AAAE00A4ECEE /* JavaASTContext.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6D0F61411C80AAAA00A4ECEE /* JavaASTContext.cpp */; };
|
||||
6D0F61481C80AAD600A4ECEE /* DWARFASTParserJava.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6D0F61441C80AACF00A4ECEE /* DWARFASTParserJava.cpp */; };
|
||||
6D0F614E1C80AB0700A4ECEE /* JavaLanguageRuntime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6D0F614A1C80AB0400A4ECEE /* JavaLanguageRuntime.cpp */; };
|
||||
@ -764,7 +764,7 @@
|
||||
6D99A3631BBC2F3200979793 /* ArmUnwindInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6D99A3621BBC2F3200979793 /* ArmUnwindInfo.cpp */; };
|
||||
6D9AB3DD1BB2B74E003F2289 /* TypeMap.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6D9AB3DC1BB2B74E003F2289 /* TypeMap.cpp */; };
|
||||
6DEC6F391BD66D750091ABA6 /* TaskPool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6DEC6F381BD66D750091ABA6 /* TaskPool.cpp */; };
|
||||
8C26C4261C3EA5F90031DF7C /* ThreadSanitizerRuntime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8C26C4241C3EA4340031DF7C /* ThreadSanitizerRuntime.cpp */; };
|
||||
8C26C4261C3EA5F90031DF7C /* TSanRuntime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8C26C4241C3EA4340031DF7C /* TSanRuntime.cpp */; };
|
||||
8C2D6A53197A1EAF006989C9 /* MemoryHistory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8C2D6A52197A1EAF006989C9 /* MemoryHistory.cpp */; };
|
||||
8C2D6A5E197A250F006989C9 /* MemoryHistoryASan.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8C2D6A5A197A1FDC006989C9 /* MemoryHistoryASan.cpp */; };
|
||||
8C3BD9961EF45DA50016C343 /* MainThreadCheckerRuntime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8C3BD9951EF45D9B0016C343 /* MainThreadCheckerRuntime.cpp */; };
|
||||
@ -772,7 +772,7 @@
|
||||
8CCB018219BA4E270009FD44 /* SBThreadCollection.h in Headers */ = {isa = PBXBuildFile; fileRef = 8CCB018119BA4E210009FD44 /* SBThreadCollection.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||
8CCB018319BA51BF0009FD44 /* SBThreadCollection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8CCB017F19BA4DD00009FD44 /* SBThreadCollection.cpp */; };
|
||||
8CF02AE919DCC01900B14BE0 /* InstrumentationRuntime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8CF02ADF19DCBF3B00B14BE0 /* InstrumentationRuntime.cpp */; };
|
||||
8CF02AEA19DCC02100B14BE0 /* AddressSanitizerRuntime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8CF02AE519DCBF8400B14BE0 /* AddressSanitizerRuntime.cpp */; };
|
||||
8CF02AEA19DCC02100B14BE0 /* ASanRuntime.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8CF02AE519DCBF8400B14BE0 /* ASanRuntime.cpp */; };
|
||||
8CF02AEF19DD16B100B14BE0 /* InstrumentationRuntimeStopInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8CF02AED19DD15CF00B14BE0 /* InstrumentationRuntimeStopInfo.cpp */; };
|
||||
9404957A1BEC497E00926025 /* NSError.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 940495781BEC497E00926025 /* NSError.cpp */; };
|
||||
9404957B1BEC497E00926025 /* NSException.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 940495791BEC497E00926025 /* NSException.cpp */; };
|
||||
@ -1262,9 +1262,9 @@
|
||||
236102991CF38A2B00B8E0B9 /* LLDBConfig.cmake */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LLDBConfig.cmake; sourceTree = "<group>"; };
|
||||
2361029A1CF38A2B00B8E0B9 /* LLDBStandalone.cmake */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = LLDBStandalone.cmake; sourceTree = "<group>"; };
|
||||
2361029E1CF38A3500B8E0B9 /* Android.cmake */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Android.cmake; sourceTree = "<group>"; };
|
||||
236124A21986B4E2004EFC37 /* IOObject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IOObject.cpp; sourceTree = "<group>"; };
|
||||
236124A21986B4E2004EFC37 /* IOObject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = IOObject.cpp; path = source/Utility/IOObject.cpp; sourceTree = "<group>"; };
|
||||
236124A31986B4E2004EFC37 /* Socket.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Socket.cpp; sourceTree = "<group>"; };
|
||||
236124A61986B50E004EFC37 /* IOObject.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = IOObject.h; path = include/lldb/Host/IOObject.h; sourceTree = "<group>"; };
|
||||
236124A61986B50E004EFC37 /* IOObject.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = IOObject.h; path = include/lldb/Utility/IOObject.h; sourceTree = "<group>"; };
|
||||
236124A71986B50E004EFC37 /* Socket.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = Socket.h; path = include/lldb/Host/Socket.h; sourceTree = "<group>"; };
|
||||
2370A37A1D66C57B000E7BE6 /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = "<group>"; };
|
||||
2370A37C1D66C587000E7BE6 /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = "<group>"; };
|
||||
@ -1606,7 +1606,6 @@
|
||||
264334381110F63100CDB6C6 /* ValueObjectRegister.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ValueObjectRegister.cpp; path = source/Core/ValueObjectRegister.cpp; sourceTree = "<group>"; };
|
||||
2643343A1110F63C00CDB6C6 /* ValueObjectRegister.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ValueObjectRegister.h; path = include/lldb/Core/ValueObjectRegister.h; sourceTree = "<group>"; };
|
||||
264723A511FA076E00DE380C /* CleanUp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CleanUp.h; path = include/lldb/Utility/CleanUp.h; sourceTree = "<group>"; };
|
||||
26474C9E18D0CAEC0073DEBA /* RegisterContext_mips64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterContext_mips64.h; path = Utility/RegisterContext_mips64.h; sourceTree = "<group>"; };
|
||||
26474C9F18D0CAEC0073DEBA /* RegisterContext_x86.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterContext_x86.h; path = Utility/RegisterContext_x86.h; sourceTree = "<group>"; };
|
||||
26474CA218D0CB070073DEBA /* RegisterContextFreeBSD_i386.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegisterContextFreeBSD_i386.cpp; path = Utility/RegisterContextFreeBSD_i386.cpp; sourceTree = "<group>"; };
|
||||
26474CA318D0CB070073DEBA /* RegisterContextFreeBSD_i386.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterContextFreeBSD_i386.h; path = Utility/RegisterContextFreeBSD_i386.h; sourceTree = "<group>"; };
|
||||
@ -1630,7 +1629,7 @@
|
||||
26474CC518D0CB5B0073DEBA /* RegisterContextPOSIX_mips64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterContextPOSIX_mips64.h; path = Utility/RegisterContextPOSIX_mips64.h; sourceTree = "<group>"; };
|
||||
26474CC618D0CB5B0073DEBA /* RegisterContextPOSIX_x86.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegisterContextPOSIX_x86.cpp; path = Utility/RegisterContextPOSIX_x86.cpp; sourceTree = "<group>"; };
|
||||
26474CC718D0CB5B0073DEBA /* RegisterContextPOSIX_x86.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterContextPOSIX_x86.h; path = Utility/RegisterContextPOSIX_x86.h; sourceTree = "<group>"; };
|
||||
26474CC818D0CB5B0073DEBA /* RegisterContextPOSIX.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterContextPOSIX.h; path = Utility/RegisterContextPOSIX.h; sourceTree = "<group>"; };
|
||||
26474CC818D0CB5B0073DEBA /* RegisterContextPOSIX.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RegisterContextPOSIX.h; sourceTree = "<group>"; };
|
||||
26474CD018D0CB700073DEBA /* RegisterInfos_i386.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterInfos_i386.h; path = Utility/RegisterInfos_i386.h; sourceTree = "<group>"; };
|
||||
26474CD118D0CB710073DEBA /* RegisterInfos_mips64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterInfos_mips64.h; path = Utility/RegisterInfos_mips64.h; sourceTree = "<group>"; };
|
||||
26474CD218D0CB710073DEBA /* RegisterInfos_x86_64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegisterInfos_x86_64.h; path = Utility/RegisterInfos_x86_64.h; sourceTree = "<group>"; };
|
||||
@ -1871,11 +1870,9 @@
|
||||
267A47F41B1411750021A5BC /* NativeBreakpointList.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = NativeBreakpointList.h; path = include/lldb/Host/common/NativeBreakpointList.h; sourceTree = "<group>"; };
|
||||
267A47F51B14117F0021A5BC /* NativeProcessProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = NativeProcessProtocol.h; path = include/lldb/Host/common/NativeProcessProtocol.h; sourceTree = "<group>"; };
|
||||
267A47F61B14118F0021A5BC /* NativeRegisterContext.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = NativeRegisterContext.h; path = include/lldb/Host/common/NativeRegisterContext.h; sourceTree = "<group>"; };
|
||||
267A47F71B14119A0021A5BC /* NativeRegisterContextRegisterInfo.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = NativeRegisterContextRegisterInfo.h; path = include/lldb/Host/common/NativeRegisterContextRegisterInfo.h; sourceTree = "<group>"; };
|
||||
267A47F81B1411A40021A5BC /* NativeThreadProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = NativeThreadProtocol.h; path = include/lldb/Host/common/NativeThreadProtocol.h; sourceTree = "<group>"; };
|
||||
267A47F91B1411AC0021A5BC /* NativeWatchpointList.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = NativeWatchpointList.h; path = include/lldb/Host/common/NativeWatchpointList.h; sourceTree = "<group>"; };
|
||||
267A47FA1B1411C40021A5BC /* NativeRegisterContext.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = NativeRegisterContext.cpp; path = source/Host/common/NativeRegisterContext.cpp; sourceTree = "<group>"; };
|
||||
267A47FC1B1411CC0021A5BC /* NativeRegisterContextRegisterInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = NativeRegisterContextRegisterInfo.cpp; path = source/Host/common/NativeRegisterContextRegisterInfo.cpp; sourceTree = "<group>"; };
|
||||
267A47FE1B1411D90021A5BC /* NativeWatchpointList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = NativeWatchpointList.cpp; path = source/Host/common/NativeWatchpointList.cpp; sourceTree = "<group>"; };
|
||||
267A48001B1411E40021A5BC /* XML.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = XML.cpp; path = source/Host/common/XML.cpp; sourceTree = "<group>"; };
|
||||
267A48031B1416080021A5BC /* XML.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = XML.h; path = include/lldb/Host/XML.h; sourceTree = "<group>"; };
|
||||
@ -2051,7 +2048,7 @@
|
||||
26BC7D5410F1B77400F91463 /* Broadcaster.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Broadcaster.h; path = include/lldb/Core/Broadcaster.h; sourceTree = "<group>"; };
|
||||
26BC7D5510F1B77400F91463 /* ClangForward.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ClangForward.h; path = include/lldb/Core/ClangForward.h; sourceTree = "<group>"; };
|
||||
26BC7D5610F1B77400F91463 /* Communication.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Communication.h; path = include/lldb/Core/Communication.h; sourceTree = "<group>"; };
|
||||
26BC7D5710F1B77400F91463 /* Connection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Connection.h; path = include/lldb/Core/Connection.h; sourceTree = "<group>"; };
|
||||
26BC7D5710F1B77400F91463 /* Connection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Connection.h; path = include/lldb/Utility/Connection.h; sourceTree = "<group>"; };
|
||||
26BC7D5E10F1B77400F91463 /* Disassembler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Disassembler.h; path = include/lldb/Core/Disassembler.h; sourceTree = "<group>"; };
|
||||
26BC7D5F10F1B77400F91463 /* dwarf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = dwarf.h; path = include/lldb/Core/dwarf.h; sourceTree = "<group>"; };
|
||||
26BC7D6110F1B77400F91463 /* Event.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Event.h; path = include/lldb/Core/Event.h; sourceTree = "<group>"; };
|
||||
@ -2072,7 +2069,7 @@
|
||||
26BC7D7710F1B77400F91463 /* State.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = State.h; path = include/lldb/Core/State.h; sourceTree = "<group>"; };
|
||||
26BC7D7810F1B77400F91463 /* STLUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = STLUtils.h; path = include/lldb/Core/STLUtils.h; sourceTree = "<group>"; };
|
||||
26BC7D7A10F1B77400F91463 /* StreamFile.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = StreamFile.h; path = include/lldb/Core/StreamFile.h; sourceTree = "<group>"; };
|
||||
26BC7D7E10F1B77400F91463 /* Timer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Timer.h; path = include/lldb/Core/Timer.h; sourceTree = "<group>"; };
|
||||
26BC7D7E10F1B77400F91463 /* Timer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Timer.h; path = include/lldb/Utility/Timer.h; sourceTree = "<group>"; };
|
||||
26BC7D8110F1B77400F91463 /* Value.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Value.h; path = include/lldb/Core/Value.h; sourceTree = "<group>"; };
|
||||
26BC7D8210F1B77400F91463 /* ValueObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ValueObject.h; path = include/lldb/Core/ValueObject.h; sourceTree = "<group>"; };
|
||||
26BC7D8310F1B77400F91463 /* ValueObjectChild.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ValueObjectChild.h; path = include/lldb/Core/ValueObjectChild.h; sourceTree = "<group>"; };
|
||||
@ -2080,7 +2077,7 @@
|
||||
26BC7D8510F1B77400F91463 /* ValueObjectVariable.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ValueObjectVariable.h; path = include/lldb/Core/ValueObjectVariable.h; sourceTree = "<group>"; };
|
||||
26BC7DC010F1B79500F91463 /* ClangExpressionHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ClangExpressionHelper.h; path = ExpressionParser/Clang/ClangExpressionHelper.h; sourceTree = "<group>"; };
|
||||
26BC7DC310F1B79500F91463 /* DWARFExpression.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DWARFExpression.h; path = include/lldb/Expression/DWARFExpression.h; sourceTree = "<group>"; };
|
||||
26BC7DD310F1B7D500F91463 /* Endian.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Endian.h; path = include/lldb/Host/Endian.h; sourceTree = "<group>"; };
|
||||
26BC7DD310F1B7D500F91463 /* Endian.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Endian.h; path = include/lldb/Utility/Endian.h; sourceTree = "<group>"; };
|
||||
26BC7DD410F1B7D500F91463 /* Host.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Host.h; path = include/lldb/Host/Host.h; sourceTree = "<group>"; };
|
||||
26BC7DD610F1B7D500F91463 /* Predicate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Predicate.h; path = include/lldb/Host/Predicate.h; sourceTree = "<group>"; };
|
||||
26BC7DE210F1B7F900F91463 /* CommandInterpreter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CommandInterpreter.h; path = include/lldb/Interpreter/CommandInterpreter.h; sourceTree = "<group>"; };
|
||||
@ -2134,7 +2131,7 @@
|
||||
26BC7E6C10F1B85900F91463 /* Args.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Args.cpp; path = source/Interpreter/Args.cpp; sourceTree = "<group>"; };
|
||||
26BC7E6D10F1B85900F91463 /* Broadcaster.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Broadcaster.cpp; path = source/Core/Broadcaster.cpp; sourceTree = "<group>"; };
|
||||
26BC7E6E10F1B85900F91463 /* Communication.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Communication.cpp; path = source/Core/Communication.cpp; sourceTree = "<group>"; };
|
||||
26BC7E6F10F1B85900F91463 /* Connection.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Connection.cpp; path = source/Core/Connection.cpp; sourceTree = "<group>"; };
|
||||
26BC7E6F10F1B85900F91463 /* Connection.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Connection.cpp; path = source/Utility/Connection.cpp; sourceTree = "<group>"; };
|
||||
26BC7E7410F1B85900F91463 /* lldb.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = lldb.cpp; path = source/lldb.cpp; sourceTree = "<group>"; };
|
||||
26BC7E7610F1B85900F91463 /* Disassembler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Disassembler.cpp; path = source/Core/Disassembler.cpp; sourceTree = "<group>"; };
|
||||
26BC7E7710F1B85900F91463 /* DynamicLoader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DynamicLoader.cpp; path = source/Core/DynamicLoader.cpp; sourceTree = "<group>"; };
|
||||
@ -2153,7 +2150,7 @@
|
||||
26BC7E8F10F1B85900F91463 /* SourceManager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SourceManager.cpp; path = source/Core/SourceManager.cpp; sourceTree = "<group>"; };
|
||||
26BC7E9010F1B85900F91463 /* State.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = State.cpp; path = source/Core/State.cpp; sourceTree = "<group>"; };
|
||||
26BC7E9210F1B85900F91463 /* StreamFile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = StreamFile.cpp; path = source/Core/StreamFile.cpp; sourceTree = "<group>"; };
|
||||
26BC7E9610F1B85900F91463 /* Timer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Timer.cpp; path = source/Core/Timer.cpp; sourceTree = "<group>"; };
|
||||
26BC7E9610F1B85900F91463 /* Timer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Timer.cpp; path = source/Utility/Timer.cpp; sourceTree = "<group>"; };
|
||||
26BC7E9910F1B85900F91463 /* Value.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Value.cpp; path = source/Core/Value.cpp; sourceTree = "<group>"; };
|
||||
26BC7E9A10F1B85900F91463 /* ValueObject.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ValueObject.cpp; path = source/Core/ValueObject.cpp; sourceTree = "<group>"; };
|
||||
26BC7E9B10F1B85900F91463 /* ValueObjectChild.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ValueObjectChild.cpp; path = source/Core/ValueObjectChild.cpp; sourceTree = "<group>"; };
|
||||
@ -2302,7 +2299,7 @@
|
||||
26EFC4CB18CFAF0D00865D87 /* ObjectFileJIT.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ObjectFileJIT.h; sourceTree = "<group>"; };
|
||||
26F006541B4DD86700B872E5 /* DynamicLoaderWindowsDYLD.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DynamicLoaderWindowsDYLD.cpp; sourceTree = "<group>"; };
|
||||
26F006551B4DD86700B872E5 /* DynamicLoaderWindowsDYLD.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DynamicLoaderWindowsDYLD.h; sourceTree = "<group>"; };
|
||||
26F2F8FD1B156678007857DE /* StructuredData.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = StructuredData.h; path = include/lldb/Core/StructuredData.h; sourceTree = "<group>"; };
|
||||
26F2F8FD1B156678007857DE /* StructuredData.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = StructuredData.h; path = include/lldb/Utility/StructuredData.h; sourceTree = "<group>"; };
|
||||
26F4A21A13FBA31A0064B613 /* ThreadMemory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ThreadMemory.cpp; path = Utility/ThreadMemory.cpp; sourceTree = "<group>"; };
|
||||
26F4A21B13FBA31A0064B613 /* ThreadMemory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ThreadMemory.h; path = Utility/ThreadMemory.h; sourceTree = "<group>"; };
|
||||
26F5C26A10F3D9A4009D5894 /* lldb */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = lldb; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
@ -2385,7 +2382,6 @@
|
||||
3FDFE56319AF9B77009756A7 /* Config.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = Config.h; path = include/lldb/Host/linux/Config.h; sourceTree = SOURCE_ROOT; };
|
||||
3FDFE56419AF9B77009756A7 /* HostInfoLinux.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = HostInfoLinux.h; path = include/lldb/Host/linux/HostInfoLinux.h; sourceTree = SOURCE_ROOT; };
|
||||
3FDFE56519AF9B77009756A7 /* HostThreadLinux.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = HostThreadLinux.h; path = include/lldb/Host/linux/HostThreadLinux.h; sourceTree = SOURCE_ROOT; };
|
||||
3FDFE56619AF9BB2009756A7 /* Config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Config.h; path = include/lldb/Host/macosx/Config.h; sourceTree = "<group>"; };
|
||||
3FDFE56719AF9BB2009756A7 /* HostThreadMacOSX.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HostThreadMacOSX.h; path = include/lldb/Host/macosx/HostThreadMacOSX.h; sourceTree = "<group>"; };
|
||||
3FDFE56A19AF9C44009756A7 /* HostProcessPosix.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HostProcessPosix.cpp; sourceTree = "<group>"; };
|
||||
3FDFE56B19AF9C44009756A7 /* HostThreadPosix.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HostThreadPosix.cpp; sourceTree = "<group>"; };
|
||||
@ -2578,8 +2574,8 @@
|
||||
4CEDAED311754F5E00E875A6 /* ThreadPlanStepUntil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ThreadPlanStepUntil.h; path = include/lldb/Target/ThreadPlanStepUntil.h; sourceTree = "<group>"; };
|
||||
4CF52AF41428291E0051E832 /* SBFileSpecList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SBFileSpecList.h; path = include/lldb/API/SBFileSpecList.h; sourceTree = "<group>"; };
|
||||
4CF52AF7142829390051E832 /* SBFileSpecList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SBFileSpecList.cpp; path = source/API/SBFileSpecList.cpp; sourceTree = "<group>"; };
|
||||
54067BEC1DF2034B00749AA5 /* UndefinedBehaviorSanitizerRuntime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = UndefinedBehaviorSanitizerRuntime.cpp; path = UndefinedBehaviorSanitizer/UndefinedBehaviorSanitizerRuntime.cpp; sourceTree = "<group>"; };
|
||||
54067BED1DF2034B00749AA5 /* UndefinedBehaviorSanitizerRuntime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = UndefinedBehaviorSanitizerRuntime.h; path = UndefinedBehaviorSanitizer/UndefinedBehaviorSanitizerRuntime.h; sourceTree = "<group>"; };
|
||||
54067BEC1DF2034B00749AA5 /* UBSanRuntime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; path = UBSanRuntime.cpp; sourceTree = "<group>"; };
|
||||
54067BED1DF2034B00749AA5 /* UBSanRuntime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UBSanRuntime.h; sourceTree = "<group>"; };
|
||||
69A01E1C1236C5D400C660B5 /* Host.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Host.cpp; sourceTree = "<group>"; };
|
||||
69A01E1F1236C5D400C660B5 /* Symbols.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Symbols.cpp; sourceTree = "<group>"; };
|
||||
6D0F613C1C80AA8900A4ECEE /* DebugMacros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DebugMacros.h; path = include/lldb/Symbol/DebugMacros.h; sourceTree = "<group>"; };
|
||||
@ -2622,8 +2618,8 @@
|
||||
6D9AB3DE1BB2B76B003F2289 /* TypeMap.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = TypeMap.h; path = include/lldb/Symbol/TypeMap.h; sourceTree = "<group>"; };
|
||||
6DEC6F381BD66D750091ABA6 /* TaskPool.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = TaskPool.cpp; path = source/Utility/TaskPool.cpp; sourceTree = "<group>"; };
|
||||
6DEC6F3A1BD66D950091ABA6 /* TaskPool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TaskPool.h; path = include/lldb/Utility/TaskPool.h; sourceTree = "<group>"; };
|
||||
8C26C4241C3EA4340031DF7C /* ThreadSanitizerRuntime.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = ThreadSanitizerRuntime.cpp; path = ThreadSanitizer/ThreadSanitizerRuntime.cpp; sourceTree = "<group>"; };
|
||||
8C26C4251C3EA4340031DF7C /* ThreadSanitizerRuntime.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = ThreadSanitizerRuntime.h; path = ThreadSanitizer/ThreadSanitizerRuntime.h; sourceTree = "<group>"; };
|
||||
8C26C4241C3EA4340031DF7C /* TSanRuntime.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = TSanRuntime.cpp; path = TSan/TSanRuntime.cpp; sourceTree = "<group>"; };
|
||||
8C26C4251C3EA4340031DF7C /* TSanRuntime.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = TSanRuntime.h; path = TSan/TSanRuntime.h; sourceTree = "<group>"; };
|
||||
8C2D6A52197A1EAF006989C9 /* MemoryHistory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = MemoryHistory.cpp; path = source/Target/MemoryHistory.cpp; sourceTree = "<group>"; };
|
||||
8C2D6A54197A1EBE006989C9 /* MemoryHistory.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MemoryHistory.h; path = include/lldb/Target/MemoryHistory.h; sourceTree = "<group>"; };
|
||||
8C2D6A5A197A1FDC006989C9 /* MemoryHistoryASan.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MemoryHistoryASan.cpp; sourceTree = "<group>"; };
|
||||
@ -2637,8 +2633,8 @@
|
||||
8CCB018419BA54930009FD44 /* SBThreadCollection.i */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c.preprocessed; path = SBThreadCollection.i; sourceTree = "<group>"; };
|
||||
8CF02ADF19DCBF3B00B14BE0 /* InstrumentationRuntime.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = InstrumentationRuntime.cpp; path = source/Target/InstrumentationRuntime.cpp; sourceTree = "<group>"; };
|
||||
8CF02AE019DCBF3B00B14BE0 /* InstrumentationRuntime.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = InstrumentationRuntime.h; path = include/lldb/Target/InstrumentationRuntime.h; sourceTree = "<group>"; };
|
||||
8CF02AE519DCBF8400B14BE0 /* AddressSanitizerRuntime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AddressSanitizerRuntime.cpp; sourceTree = "<group>"; };
|
||||
8CF02AE619DCBF8400B14BE0 /* AddressSanitizerRuntime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AddressSanitizerRuntime.h; sourceTree = "<group>"; };
|
||||
8CF02AE519DCBF8400B14BE0 /* ASanRuntime.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ASanRuntime.cpp; sourceTree = "<group>"; };
|
||||
8CF02AE619DCBF8400B14BE0 /* ASanRuntime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASanRuntime.h; sourceTree = "<group>"; };
|
||||
8CF02AED19DD15CF00B14BE0 /* InstrumentationRuntimeStopInfo.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = InstrumentationRuntimeStopInfo.cpp; path = source/Target/InstrumentationRuntimeStopInfo.cpp; sourceTree = "<group>"; };
|
||||
8CF02AEE19DD15CF00B14BE0 /* InstrumentationRuntimeStopInfo.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = InstrumentationRuntimeStopInfo.h; path = include/lldb/Target/InstrumentationRuntimeStopInfo.h; sourceTree = "<group>"; };
|
||||
94005E0313F438DF001EF42D /* python-wrapper.swig */ = {isa = PBXFileReference; lastKnownFileType = text; path = "python-wrapper.swig"; sourceTree = "<group>"; };
|
||||
@ -3036,7 +3032,7 @@
|
||||
AFD65C7F1D9B5B2E00D93120 /* RegisterContextMinidump_x86_64.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RegisterContextMinidump_x86_64.cpp; sourceTree = "<group>"; };
|
||||
AFD65C801D9B5B2E00D93120 /* RegisterContextMinidump_x86_64.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RegisterContextMinidump_x86_64.h; sourceTree = "<group>"; };
|
||||
AFDFDFD019E34D3400EAE509 /* ConnectionFileDescriptorPosix.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ConnectionFileDescriptorPosix.cpp; sourceTree = "<group>"; };
|
||||
AFEC3361194A8ABA00FF05C6 /* StructuredData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = StructuredData.cpp; path = source/Core/StructuredData.cpp; sourceTree = "<group>"; };
|
||||
AFEC3361194A8ABA00FF05C6 /* StructuredData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = StructuredData.cpp; path = source/Utility/StructuredData.cpp; sourceTree = "<group>"; };
|
||||
AFEC5FD51D94F9380076A480 /* Testx86AssemblyInspectionEngine.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = Testx86AssemblyInspectionEngine.cpp; path = UnwindAssembly/x86/Testx86AssemblyInspectionEngine.cpp; sourceTree = "<group>"; };
|
||||
AFF87C86150FF669000E1742 /* com.apple.debugserver.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = com.apple.debugserver.plist; path = tools/debugserver/source/com.apple.debugserver.plist; sourceTree = "<group>"; };
|
||||
AFF87C8A150FF677000E1742 /* com.apple.debugserver.applist.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = com.apple.debugserver.applist.plist; path = tools/debugserver/source/com.apple.debugserver.applist.plist; sourceTree = "<group>"; };
|
||||
@ -3425,6 +3421,7 @@
|
||||
children = (
|
||||
AF3F54B21B3BA5D500186E73 /* POSIXStopInfo.cpp */,
|
||||
AF3F54B31B3BA5D500186E73 /* POSIXStopInfo.h */,
|
||||
26474CC818D0CB5B0073DEBA /* RegisterContextPOSIX.h */,
|
||||
AF3F54B81B3BA5D500186E73 /* RegisterContextPOSIXProcessMonitor_arm.cpp */,
|
||||
AF3F54B91B3BA5D500186E73 /* RegisterContextPOSIXProcessMonitor_arm.h */,
|
||||
AF3F54BA1B3BA5D500186E73 /* RegisterContextPOSIXProcessMonitor_arm64.cpp */,
|
||||
@ -4228,6 +4225,8 @@
|
||||
2682F168115ED9C800CCFF99 /* Utility */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
26BC7D5710F1B77400F91463 /* Connection.h */,
|
||||
26BC7E6F10F1B85900F91463 /* Connection.cpp */,
|
||||
26FA4315130103F400E71120 /* FileSpec.h */,
|
||||
26FA43171301048600E71120 /* FileSpec.cpp */,
|
||||
26CF992414428766001E4138 /* AnsiTerminal.h */,
|
||||
@ -4248,10 +4247,13 @@
|
||||
49CA96F41E6AAC8E00C03FEE /* DataExtractor.h */,
|
||||
49CA96E91E6AAC6600C03FEE /* DataExtractor.cpp */,
|
||||
9481FE6B1B5F2D9200DED357 /* Either.h */,
|
||||
26BC7DD310F1B7D500F91463 /* Endian.h */,
|
||||
AFC2DCE61E6E2ED000283714 /* FastDemangle.cpp */,
|
||||
AFC2DCED1E6E2F9800283714 /* FastDemangle.h */,
|
||||
AFC2DCF21E6E30CF00283714 /* History.cpp */,
|
||||
AFC2DCF41E6E30D800283714 /* History.h */,
|
||||
236124A61986B50E004EFC37 /* IOObject.h */,
|
||||
236124A21986B4E2004EFC37 /* IOObject.cpp */,
|
||||
4C73152119B7D71700F865A4 /* Iterable.h */,
|
||||
942829541A89614000521B30 /* JSON.h */,
|
||||
942829551A89614C00521B30 /* JSON.cpp */,
|
||||
@ -4286,12 +4288,16 @@
|
||||
94380B8119940B0A00BFE4A8 /* StringLexer.cpp */,
|
||||
9A35765E116E76A700E8ED2F /* StringList.h */,
|
||||
9A35765F116E76B900E8ED2F /* StringList.cpp */,
|
||||
26F2F8FD1B156678007857DE /* StructuredData.h */,
|
||||
AFEC3361194A8ABA00FF05C6 /* StructuredData.cpp */,
|
||||
94BA8B6E176F8CA0005A91B5 /* Range.h */,
|
||||
94BA8B6C176F8C9B005A91B5 /* Range.cpp */,
|
||||
6DEC6F3A1BD66D950091ABA6 /* TaskPool.h */,
|
||||
6DEC6F381BD66D750091ABA6 /* TaskPool.cpp */,
|
||||
AFF8FF0B1E779D4B003830EF /* TildeExpressionResolver.cpp */,
|
||||
AFF8FF0D1E779D51003830EF /* TildeExpressionResolver.h */,
|
||||
26BC7D7E10F1B77400F91463 /* Timer.h */,
|
||||
26BC7E9610F1B85900F91463 /* Timer.cpp */,
|
||||
2654A6911E552F3C00DA1013 /* UriParser.h */,
|
||||
33064C991A5C7A330033D415 /* UriParser.cpp */,
|
||||
AFC2DCEA1E6E2F7D00283714 /* UserID.cpp */,
|
||||
@ -4588,7 +4594,6 @@
|
||||
26B75B431AD6E29A001F7A57 /* MipsLinuxSignals.h */,
|
||||
AF33B4BC1C1FA441001B28D9 /* NetBSDSignals.cpp */,
|
||||
AF33B4BD1C1FA441001B28D9 /* NetBSDSignals.h */,
|
||||
26474C9E18D0CAEC0073DEBA /* RegisterContext_mips64.h */,
|
||||
AF77E0991A033D360096C0EA /* RegisterContext_powerpc.h */,
|
||||
26474C9F18D0CAEC0073DEBA /* RegisterContext_x86.h */,
|
||||
26957D9213D381C900670048 /* RegisterContextDarwin_arm.cpp */,
|
||||
@ -4647,7 +4652,6 @@
|
||||
267F68561CC02EAE0086832B /* RegisterContextPOSIX_s390x.h */,
|
||||
26474CC618D0CB5B0073DEBA /* RegisterContextPOSIX_x86.cpp */,
|
||||
26474CC718D0CB5B0073DEBA /* RegisterContextPOSIX_x86.h */,
|
||||
26474CC818D0CB5B0073DEBA /* RegisterContextPOSIX.h */,
|
||||
26CA979F172B1FD5005DC71B /* RegisterContextThreadMemory.cpp */,
|
||||
26CA97A0172B1FD5005DC71B /* RegisterContextThreadMemory.h */,
|
||||
23EDE3371926AAD500F6A132 /* RegisterInfoInterface.h */,
|
||||
@ -4731,8 +4735,6 @@
|
||||
26BC7D5510F1B77400F91463 /* ClangForward.h */,
|
||||
26BC7D5610F1B77400F91463 /* Communication.h */,
|
||||
26BC7E6E10F1B85900F91463 /* Communication.cpp */,
|
||||
26BC7D5710F1B77400F91463 /* Connection.h */,
|
||||
26BC7E6F10F1B85900F91463 /* Connection.cpp */,
|
||||
263664941140A4C10075843B /* Debugger.h */,
|
||||
263664921140A4930075843B /* Debugger.cpp */,
|
||||
26BC7D5E10F1B77400F91463 /* Disassembler.h */,
|
||||
@ -4795,13 +4797,9 @@
|
||||
2623096E13D0EFFB006381D9 /* StreamBuffer.h */,
|
||||
26BC7D7A10F1B77400F91463 /* StreamFile.h */,
|
||||
26BC7E9210F1B85900F91463 /* StreamFile.cpp */,
|
||||
26F2F8FD1B156678007857DE /* StructuredData.h */,
|
||||
AFEC3361194A8ABA00FF05C6 /* StructuredData.cpp */,
|
||||
26B167A41123BF5500DC7B4F /* ThreadSafeValue.h */,
|
||||
263FEDA5112CC1DA00E4C208 /* ThreadSafeSTLMap.h */,
|
||||
940B01FE1D2D82220058795E /* ThreadSafeSTLVector.h */,
|
||||
26BC7D7E10F1B77400F91463 /* Timer.h */,
|
||||
26BC7E9610F1B85900F91463 /* Timer.cpp */,
|
||||
94ED54A119C8A822007BE2EA /* ThreadSafeDenseMap.h */,
|
||||
9449B8031B30E0690019342B /* ThreadSafeDenseSet.h */,
|
||||
268A813F115B19D000F645B0 /* UniqueCStringMap.h */,
|
||||
@ -5090,7 +5088,6 @@
|
||||
266F5CBB12FC846200DFCE33 /* Config.h */,
|
||||
3FDFED1E19BA6D55009756A7 /* Debug.h */,
|
||||
26CFDCA01861638D000E63E5 /* Editline.h */,
|
||||
26BC7DD310F1B7D500F91463 /* Endian.h */,
|
||||
260C6EA013011578005E16B0 /* File.h */,
|
||||
3FDFDDC0199D34E2009756A7 /* FileCache.h */,
|
||||
3FDFDDBE199D345E009756A7 /* FileCache.cpp */,
|
||||
@ -5103,7 +5100,6 @@
|
||||
3FDFED2119BA6D55009756A7 /* HostNativeThreadBase.h */,
|
||||
3FDFE57419AFABFD009756A7 /* HostProcess.h */,
|
||||
3FDFE57519AFABFD009756A7 /* HostThread.h */,
|
||||
236124A61986B50E004EFC37 /* IOObject.h */,
|
||||
267A47F31B14116E0021A5BC /* NativeBreakpoint.h */,
|
||||
232CB60B191E00CC00EF39FC /* NativeBreakpoint.cpp */,
|
||||
267A47F41B1411750021A5BC /* NativeBreakpointList.h */,
|
||||
@ -5112,8 +5108,6 @@
|
||||
232CB60F191E00CC00EF39FC /* NativeProcessProtocol.cpp */,
|
||||
267A47F61B14118F0021A5BC /* NativeRegisterContext.h */,
|
||||
267A47FA1B1411C40021A5BC /* NativeRegisterContext.cpp */,
|
||||
267A47F71B14119A0021A5BC /* NativeRegisterContextRegisterInfo.h */,
|
||||
267A47FC1B1411CC0021A5BC /* NativeRegisterContextRegisterInfo.cpp */,
|
||||
267A47F81B1411A40021A5BC /* NativeThreadProtocol.h */,
|
||||
232CB611191E00CC00EF39FC /* NativeThreadProtocol.cpp */,
|
||||
267A47F91B1411AC0021A5BC /* NativeWatchpointList.h */,
|
||||
@ -5372,7 +5366,6 @@
|
||||
26BC7EE510F1B88100F91463 /* MacOSX */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
3FDFE56619AF9BB2009756A7 /* Config.h */,
|
||||
26BC7EED10F1B8AD00F91463 /* CFCBundle.cpp */,
|
||||
26BC7EEE10F1B8AD00F91463 /* CFCBundle.h */,
|
||||
26BC7EEF10F1B8AD00F91463 /* CFCData.cpp */,
|
||||
@ -5918,13 +5911,13 @@
|
||||
path = "gdb-remote";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
54067BEA1DF2033700749AA5 /* UndefinedBehaviorSanitizer */ = {
|
||||
54067BEA1DF2033700749AA5 /* UBSan */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
54067BEC1DF2034B00749AA5 /* UndefinedBehaviorSanitizerRuntime.cpp */,
|
||||
54067BED1DF2034B00749AA5 /* UndefinedBehaviorSanitizerRuntime.h */,
|
||||
54067BEC1DF2034B00749AA5 /* UBSanRuntime.cpp */,
|
||||
54067BED1DF2034B00749AA5 /* UBSanRuntime.h */,
|
||||
);
|
||||
name = UndefinedBehaviorSanitizer;
|
||||
path = UBSan;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
69A01E1A1236C5D400C660B5 /* common */ = {
|
||||
@ -5944,7 +5937,6 @@
|
||||
3FDFED2419BA6D96009756A7 /* HostNativeThreadBase.cpp */,
|
||||
3FDFED2C19C257A0009756A7 /* HostProcess.cpp */,
|
||||
3FDFED2519BA6D96009756A7 /* HostThread.cpp */,
|
||||
236124A21986B4E2004EFC37 /* IOObject.cpp */,
|
||||
A36FF33B17D8E94600244D40 /* OptionParser.cpp */,
|
||||
AF37E10917C861F20061E18E /* ProcessRunLock.cpp */,
|
||||
236124A31986B4E2004EFC37 /* Socket.cpp */,
|
||||
@ -6000,13 +5992,13 @@
|
||||
path = Android;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8C26C4221C3EA4050031DF7C /* ThreadSanitizer */ = {
|
||||
8C26C4221C3EA4050031DF7C /* TSan */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
8C26C4241C3EA4340031DF7C /* ThreadSanitizerRuntime.cpp */,
|
||||
8C26C4251C3EA4340031DF7C /* ThreadSanitizerRuntime.h */,
|
||||
8C26C4241C3EA4340031DF7C /* TSanRuntime.cpp */,
|
||||
8C26C4251C3EA4340031DF7C /* TSanRuntime.h */,
|
||||
);
|
||||
name = ThreadSanitizer;
|
||||
name = TSan;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8C2D6A58197A1FB9006989C9 /* MemoryHistory */ = {
|
||||
@ -6038,21 +6030,21 @@
|
||||
8CF02ADD19DCBEC200B14BE0 /* InstrumentationRuntime */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
54067BEA1DF2033700749AA5 /* UndefinedBehaviorSanitizer */,
|
||||
8C26C4221C3EA4050031DF7C /* ThreadSanitizer */,
|
||||
8CF02ADE19DCBEE600B14BE0 /* AddressSanitizer */,
|
||||
54067BEA1DF2033700749AA5 /* UBSan */,
|
||||
8C26C4221C3EA4050031DF7C /* TSan */,
|
||||
8CF02ADE19DCBEE600B14BE0 /* ASan */,
|
||||
8C3BD9911EF45D9B0016C343 /* MainThreadChecker */,
|
||||
);
|
||||
path = InstrumentationRuntime;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
8CF02ADE19DCBEE600B14BE0 /* AddressSanitizer */ = {
|
||||
8CF02ADE19DCBEE600B14BE0 /* ASan */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
8CF02AE519DCBF8400B14BE0 /* AddressSanitizerRuntime.cpp */,
|
||||
8CF02AE619DCBF8400B14BE0 /* AddressSanitizerRuntime.h */,
|
||||
8CF02AE519DCBF8400B14BE0 /* ASanRuntime.cpp */,
|
||||
8CF02AE619DCBF8400B14BE0 /* ASanRuntime.h */,
|
||||
);
|
||||
path = AddressSanitizer;
|
||||
path = ASan;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
942829BA1A89830900521B30 /* argdumper */ = {
|
||||
@ -7148,7 +7140,7 @@
|
||||
2689000713353DB600698AC0 /* BreakpointSite.cpp in Sources */,
|
||||
2689000913353DB600698AC0 /* BreakpointSiteList.cpp in Sources */,
|
||||
26474CC918D0CB5B0073DEBA /* RegisterContextMemory.cpp in Sources */,
|
||||
8CF02AEA19DCC02100B14BE0 /* AddressSanitizerRuntime.cpp in Sources */,
|
||||
8CF02AEA19DCC02100B14BE0 /* ASanRuntime.cpp in Sources */,
|
||||
26474CB218D0CB180073DEBA /* RegisterContextLinux_i386.cpp in Sources */,
|
||||
26474CCB18D0CB5B0073DEBA /* RegisterContextPOSIX_mips64.cpp in Sources */,
|
||||
2689000B13353DB600698AC0 /* Stoppoint.cpp in Sources */,
|
||||
@ -7625,7 +7617,7 @@
|
||||
2642FBAE13D003B400ED6808 /* CommunicationKDP.cpp in Sources */,
|
||||
2642FBB013D003B400ED6808 /* ProcessKDP.cpp in Sources */,
|
||||
23D4007E1C210201000C3885 /* DebugMacros.cpp in Sources */,
|
||||
8C26C4261C3EA5F90031DF7C /* ThreadSanitizerRuntime.cpp in Sources */,
|
||||
8C26C4261C3EA5F90031DF7C /* TSanRuntime.cpp in Sources */,
|
||||
947CF7711DC7B1EE00EF980B /* ProcessMinidump.cpp in Sources */,
|
||||
2642FBB213D003B400ED6808 /* ProcessKDPLog.cpp in Sources */,
|
||||
263641191B34AEE200145B2F /* ABISysV_mips64.cpp in Sources */,
|
||||
@ -7650,7 +7642,7 @@
|
||||
26954EBE1401EE8B00294D09 /* DynamicRegisterInfo.cpp in Sources */,
|
||||
6D9AB3DD1BB2B74E003F2289 /* TypeMap.cpp in Sources */,
|
||||
255EFF761AFABA950069F277 /* LockFilePosix.cpp in Sources */,
|
||||
54067BF11DF2041B00749AA5 /* UndefinedBehaviorSanitizerRuntime.cpp in Sources */,
|
||||
54067BF11DF2041B00749AA5 /* UBSanRuntime.cpp in Sources */,
|
||||
3FBA69EC1B6067430008F44A /* PythonDataObjects.cpp in Sources */,
|
||||
26274FA714030F79006BA130 /* DynamicLoaderDarwinKernel.cpp in Sources */,
|
||||
94FA3DE01405D50400833217 /* ValueObjectConstResultChild.cpp in Sources */,
|
||||
|
@ -31,12 +31,8 @@ def affected_by_pr33042(self):
|
||||
"<=",
|
||||
"3.6"],
|
||||
archs=["i386"])
|
||||
@expectedFailureAll(
|
||||
bugnumber="llvm.org/pr25785",
|
||||
hostoslist=["windows"],
|
||||
compiler="gcc",
|
||||
archs=["i386"],
|
||||
triple='.*-android')
|
||||
@expectedFailureAll(compiler="clang", compiler_version=["<=", "5.0.300080"],
|
||||
triple='.*-android', archs=["i386"])
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
|
||||
@add_test_categories(['pyapi'])
|
||||
def test_with_python(self):
|
||||
@ -185,12 +181,6 @@ def test_with_python(self):
|
||||
"<=",
|
||||
"3.6"],
|
||||
archs=["i386"])
|
||||
@expectedFailureAll(
|
||||
bugnumber="llvm.org/pr25785",
|
||||
hostoslist=["windows"],
|
||||
compiler="gcc",
|
||||
archs=["i386"],
|
||||
triple='.*-android')
|
||||
@expectedFailureAll(compiler=["gcc"], archs=["x86_64", "i386"])
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
|
||||
def test_vector_values(self):
|
||||
|
@ -90,3 +90,7 @@ else
|
||||
|
||||
ARCH_LDFLAGS += $(NDK_ROOT)/sources/cxx-stl/gnu-libstdc++/4.9/libs/$(STL_ARCH)/libgnustl_static.a
|
||||
endif
|
||||
|
||||
ifeq "$(ARCH)" "i386"
|
||||
ARCH_CFLAGS += -mstackrealign
|
||||
endif
|
||||
|
@ -43,6 +43,9 @@ def process_repo(r):
|
||||
}
|
||||
|
||||
def XCODE_REPOSITORIES():
|
||||
override = repo.get_override()
|
||||
if override:
|
||||
return [process_repo(r) for r in override]
|
||||
identifier = repo.identifier()
|
||||
if identifier == None:
|
||||
identifier = "<invalid>" # repo.find will just use the fallback file
|
||||
|
@ -21,6 +21,17 @@ def identifier():
|
||||
pass
|
||||
return None
|
||||
|
||||
def get_override():
|
||||
dir = os.path.dirname(os.path.realpath(__file__))
|
||||
repos_dir = os.path.join(dir, "repos")
|
||||
json_regex = re.compile(r"^.*.json$")
|
||||
override_path = os.path.join(repos_dir, "OVERRIDE")
|
||||
if os.path.isfile(override_path):
|
||||
override_set = json.load(open(override_path))
|
||||
return override_set["repos"]
|
||||
else:
|
||||
return None
|
||||
|
||||
def find(identifier):
|
||||
dir = os.path.dirname(os.path.realpath(__file__))
|
||||
repos_dir = os.path.join(dir, "repos")
|
||||
|
@ -1,3 +1,5 @@
|
||||
#! /usr/bin/env python
|
||||
|
||||
import argparse
|
||||
import itertools
|
||||
import os
|
||||
@ -203,4 +205,4 @@ def iter_cycles(cycles):
|
||||
for (node, inc, outg) in sorted:
|
||||
print " {} [{} in, {} out]".format(node, inc, outg)
|
||||
sys.stdout.flush()
|
||||
pass
|
||||
pass
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include "lldb/API/SBBroadcaster.h"
|
||||
#include "lldb/Core/Communication.h"
|
||||
#include "lldb/Host/ConnectionFileDescriptor.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
|
||||
using namespace lldb;
|
||||
@ -51,7 +52,7 @@ void SBCommunication::SetCloseOnEOF(bool b) {
|
||||
ConnectionStatus SBCommunication::Connect(const char *url) {
|
||||
if (m_opaque) {
|
||||
if (!m_opaque->HasConnection())
|
||||
m_opaque->SetConnection(Connection::CreateDefaultConnection(url));
|
||||
m_opaque->SetConnection(Host::CreateDefaultConnection(url).release());
|
||||
return m_opaque->Connect(url, NULL);
|
||||
}
|
||||
return eConnectionStatusNoConnection;
|
||||
|
@ -11,11 +11,11 @@
|
||||
|
||||
#include "lldb/API/SBStream.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Core/StructuredDataImpl.h"
|
||||
#include "lldb/Target/StructuredDataPlugin.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
@ -2170,7 +2170,7 @@ lldb::addr_t SBTarget::GetStackRedZoneSize() {
|
||||
if (process_sp)
|
||||
abi_sp = process_sp->GetABI();
|
||||
else
|
||||
abi_sp = ABI::FindPlugin(target_sp->GetArchitecture());
|
||||
abi_sp = ABI::FindPlugin(ProcessSP(), target_sp->GetArchitecture());
|
||||
if (abi_sp)
|
||||
return abi_sp->GetRedZoneSize();
|
||||
}
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/State.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
@ -34,6 +33,7 @@
|
||||
#include "lldb/Target/ThreadPlanStepRange.h"
|
||||
#include "lldb/Target/UnixSignals.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
#include "lldb/API/SBAddress.h"
|
||||
#include "lldb/API/SBDebugger.h"
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/State.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
#include "lldb/Symbol/CompileUnit.h"
|
||||
#include "lldb/Symbol/SymbolContext.h"
|
||||
@ -33,6 +32,7 @@
|
||||
#include "lldb/Target/ThreadPlanStepOut.h"
|
||||
#include "lldb/Target/ThreadPlanStepRange.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
#include "lldb/API/SBAddress.h"
|
||||
#include "lldb/API/SBDebugger.h"
|
||||
|
@ -10,9 +10,9 @@
|
||||
#include "lldb/API/SBTraceOptions.h"
|
||||
#include "lldb/API/SBError.h"
|
||||
#include "lldb/API/SBStructuredData.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Core/StructuredDataImpl.h"
|
||||
#include "lldb/Core/TraceOptions.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/TraceOptions.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
@ -20,7 +20,6 @@
|
||||
#endif
|
||||
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Initialization/SystemInitializerCommon.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
@ -28,6 +27,7 @@
|
||||
#include "lldb/Symbol/GoASTContext.h"
|
||||
#include "lldb/Symbol/JavaASTContext.h"
|
||||
#include "lldb/Symbol/OCamlASTContext.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h"
|
||||
#include "Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.h"
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Core/Value.h"
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectVariable.h"
|
||||
@ -47,6 +46,7 @@
|
||||
#include "lldb/Target/Thread.h"
|
||||
#include "lldb/Utility/LLDBAssert.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/OptionParser.h"
|
||||
#include "lldb/Interpreter/Args.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
@ -31,6 +30,7 @@
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/RegularExpression.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/State.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Core/ValueObjectVariable.h"
|
||||
#include "lldb/DataFormatters/ValueObjectPrinter.h"
|
||||
#include "lldb/Host/OptionParser.h"
|
||||
@ -50,6 +49,7 @@
|
||||
#include "lldb/Target/StackFrame.h"
|
||||
#include "lldb/Target/Thread.h"
|
||||
#include "lldb/Target/ThreadSpec.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
|
||||
@ -3426,6 +3426,23 @@ class CommandObjectTargetModulesShowUnwind : public CommandObjectParsed {
|
||||
result.GetOutputStream().Printf("\n");
|
||||
}
|
||||
|
||||
if (UnwindPlanSP plan_sp =
|
||||
func_unwinders_sp->GetDebugFrameUnwindPlan(*target, 0)) {
|
||||
result.GetOutputStream().Printf("debug_frame UnwindPlan:\n");
|
||||
plan_sp->Dump(result.GetOutputStream(), thread.get(),
|
||||
LLDB_INVALID_ADDRESS);
|
||||
result.GetOutputStream().Printf("\n");
|
||||
}
|
||||
|
||||
if (UnwindPlanSP plan_sp =
|
||||
func_unwinders_sp->GetDebugFrameAugmentedUnwindPlan(*target,
|
||||
*thread, 0)) {
|
||||
result.GetOutputStream().Printf("debug_frame augmented UnwindPlan:\n");
|
||||
plan_sp->Dump(result.GetOutputStream(), thread.get(),
|
||||
LLDB_INVALID_ADDRESS);
|
||||
result.GetOutputStream().Printf("\n");
|
||||
}
|
||||
|
||||
UnwindPlanSP arm_unwind_sp =
|
||||
func_unwinders_sp->GetArmUnwindUnwindPlan(*target, 0);
|
||||
if (arm_unwind_sp) {
|
||||
|
@ -209,7 +209,7 @@ class CommandObjectIterateOverThreads : public CommandObjectParsed {
|
||||
Process *process = m_exe_ctx.GetProcessPtr();
|
||||
Thread *thread = process->GetThreadList().FindThreadByID(tid).get();
|
||||
if (thread == nullptr) {
|
||||
result.AppendErrorWithFormat("Failed to process thread# %lu.\n", tid);
|
||||
result.AppendErrorWithFormat("Failed to process thread# %llu.\n", tid);
|
||||
result.SetStatus(eReturnStatusFailed);
|
||||
return false;
|
||||
}
|
||||
|
@ -7,7 +7,6 @@ add_lldb_library(lldbCore
|
||||
ArchSpec.cpp
|
||||
Broadcaster.cpp
|
||||
Communication.cpp
|
||||
Connection.cpp
|
||||
Debugger.cpp
|
||||
Disassembler.cpp
|
||||
DumpDataExtractor.cpp
|
||||
@ -33,8 +32,6 @@ add_lldb_library(lldbCore
|
||||
State.cpp
|
||||
StreamAsynchronousIO.cpp
|
||||
StreamFile.cpp
|
||||
StructuredData.cpp
|
||||
Timer.cpp
|
||||
UserSettingsController.cpp
|
||||
Value.cpp
|
||||
ValueObject.cpp
|
||||
|
@ -9,11 +9,11 @@
|
||||
|
||||
#include "lldb/Core/Communication.h"
|
||||
|
||||
#include "lldb/Core/Connection.h"
|
||||
#include "lldb/Core/Event.h"
|
||||
#include "lldb/Core/Listener.h"
|
||||
#include "lldb/Host/HostThread.h"
|
||||
#include "lldb/Host/ThreadLauncher.h"
|
||||
#include "lldb/Utility/Connection.h"
|
||||
#include "lldb/Utility/ConstString.h" // for ConstString
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Logging.h" // for LogIfAnyCategoriesSet, LIBLLDB...
|
||||
|
@ -1,32 +0,0 @@
|
||||
//===-- Connection.cpp ------------------------------------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "lldb/Core/Connection.h"
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include "lldb/Host/windows/ConnectionGenericFileWindows.h"
|
||||
#endif
|
||||
|
||||
#include "lldb/Host/ConnectionFileDescriptor.h"
|
||||
|
||||
#include <string.h> // for strstr
|
||||
|
||||
using namespace lldb_private;
|
||||
|
||||
Connection::Connection() {}
|
||||
|
||||
Connection::~Connection() {}
|
||||
|
||||
Connection *Connection::CreateDefaultConnection(const char *url) {
|
||||
#if defined(_WIN32)
|
||||
if (strstr(url, "file://") == url)
|
||||
return new ConnectionGenericFile();
|
||||
#endif
|
||||
return new ConnectionFileDescriptor();
|
||||
}
|
@ -17,7 +17,6 @@
|
||||
#include "lldb/Core/ModuleList.h" // for ModuleList
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/SourceManager.h" // for SourceManager
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/FileSystem.h"
|
||||
#include "lldb/Interpreter/OptionValue.h"
|
||||
#include "lldb/Interpreter/OptionValueArray.h"
|
||||
@ -37,8 +36,9 @@
|
||||
#include "lldb/Utility/DataExtractor.h"
|
||||
#include "lldb/Utility/RegularExpression.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/Stream.h" // for Stream
|
||||
#include "lldb/Utility/StreamString.h" // for StreamString
|
||||
#include "lldb/Utility/Stream.h" // for Stream
|
||||
#include "lldb/Utility/StreamString.h" // for StreamString
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include "lldb/lldb-private-enumerations.h" // for InstructionType:...
|
||||
#include "lldb/lldb-private-interfaces.h" // for DisassemblerCrea...
|
||||
#include "lldb/lldb-private-types.h" // for RegisterInfo
|
||||
|
@ -14,8 +14,7 @@
|
||||
#include "lldb/Core/ArchSpec.h" // for ArchSpec
|
||||
#include "lldb/Core/Debugger.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/RegisterValue.h" // for RegisterValue
|
||||
#include "lldb/Core/StructuredData.h" // for StructuredData::O...
|
||||
#include "lldb/Core/RegisterValue.h" // for RegisterValue
|
||||
#include "lldb/Core/ValueObject.h"
|
||||
#include "lldb/Core/ValueObjectVariable.h"
|
||||
#include "lldb/DataFormatters/DataVisualization.h"
|
||||
@ -50,9 +49,10 @@
|
||||
#include "lldb/Utility/SharingPtr.h" // for SharingPtr
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/StringList.h" // for StringList
|
||||
#include "lldb/lldb-defines.h" // for LLDB_INVALID_ADDRESS
|
||||
#include "lldb/lldb-forward.h" // for ValueObjectSP
|
||||
#include "lldb/Utility/StringList.h" // for StringList
|
||||
#include "lldb/Utility/StructuredData.h" // for StructuredData::O...
|
||||
#include "lldb/lldb-defines.h" // for LLDB_INVALID_ADDRESS
|
||||
#include "lldb/lldb-forward.h" // for ValueObjectSP
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/ADT/Triple.h" // for Triple, Triple::O...
|
||||
|
@ -27,12 +27,12 @@
|
||||
#include <cxxabi.h>
|
||||
#endif
|
||||
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Utility/ConstString.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Logging.h"
|
||||
#include "lldb/Utility/RegularExpression.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include "lldb/lldb-enumerations.h" // for LanguageType
|
||||
|
||||
#include "Plugins/Language/CPlusPlus/CPlusPlusLanguage.h"
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/SearchFilter.h" // for SearchFilt...
|
||||
#include "lldb/Core/Section.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/FileSystem.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Interpreter/CommandInterpreter.h"
|
||||
@ -45,6 +44,7 @@
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/Stream.h" // for Stream
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#if defined(LLVM_ON_WIN32)
|
||||
#include "lldb/Host/windows/PosixApi.h" // for PATH_MAX
|
||||
|
@ -13,7 +13,6 @@ add_host_subdirectory(common
|
||||
common/HostNativeThreadBase.cpp
|
||||
common/HostProcess.cpp
|
||||
common/HostThread.cpp
|
||||
common/IOObject.cpp
|
||||
common/LockFileBase.cpp
|
||||
common/MainLoop.cpp
|
||||
common/MonitoringProcessLauncher.cpp
|
||||
|
@ -58,6 +58,7 @@
|
||||
#include "lldb/Host/Predicate.h"
|
||||
#include "lldb/Host/ProcessLauncher.h"
|
||||
#include "lldb/Host/ThreadLauncher.h"
|
||||
#include "lldb/Host/posix/ConnectionFileDescriptorPosix.h"
|
||||
#include "lldb/Target/FileAction.h"
|
||||
#include "lldb/Target/ProcessLaunchInfo.h"
|
||||
#include "lldb/Target/UnixSignals.h"
|
||||
@ -73,6 +74,7 @@
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include "lldb/Host/windows/ConnectionGenericFileWindows.h"
|
||||
#include "lldb/Host/windows/ProcessLauncherWindows.h"
|
||||
#else
|
||||
#include "lldb/Host/posix/ProcessLauncherPosixFork.h"
|
||||
@ -624,6 +626,14 @@ const UnixSignalsSP &Host::GetUnixSignals() {
|
||||
return s_unix_signals_sp;
|
||||
}
|
||||
|
||||
std::unique_ptr<Connection> Host::CreateDefaultConnection(llvm::StringRef url) {
|
||||
#if defined(_WIN32)
|
||||
if (url.startswith("file://"))
|
||||
return std::unique_ptr<Connection>(new ConnectionGenericFile());
|
||||
#endif
|
||||
return std::unique_ptr<Connection>(new ConnectionFileDescriptor());
|
||||
}
|
||||
|
||||
#if defined(LLVM_ON_UNIX)
|
||||
WaitStatus WaitStatus::Decode(int wstatus) {
|
||||
if (WIFEXITED(wstatus))
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "lldb/Core/ArchSpec.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Target/Target.h"
|
||||
#include "lldb/Utility/DataBuffer.h"
|
||||
@ -19,6 +18,7 @@
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/SafeMachO.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include "lldb/Utility/UUID.h"
|
||||
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
|
@ -27,21 +27,18 @@
|
||||
// Other libraries and framework includes
|
||||
// Project includes
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Target/Platform.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Utility/DataExtractor.h"
|
||||
#include "lldb/Utility/Endian.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
|
||||
#include "lldb/Utility/CleanUp.h"
|
||||
#include "lldb/Utility/DataBufferHeap.h"
|
||||
#include "lldb/Utility/DataExtractor.h"
|
||||
#include "lldb/Utility/Endian.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/NameMatches.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
|
||||
#include "llvm/Support/Host.h"
|
||||
|
||||
|
@ -32,3 +32,13 @@ lldb_private::getProcFile(::pid_t pid, const llvm::Twine &file) {
|
||||
LLDB_LOG(log, "Failed to open {0}: {1}", File, Ret.getError().message());
|
||||
return Ret;
|
||||
}
|
||||
|
||||
llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>>
|
||||
lldb_private::getProcFile(const llvm::Twine &file) {
|
||||
Log *log = GetLogIfAllCategoriesSet(LIBLLDB_LOG_HOST);
|
||||
std::string File = ("/proc/" + file).str();
|
||||
auto Ret = llvm::MemoryBuffer::getFileAsStream(File);
|
||||
if (!Ret)
|
||||
LLDB_LOG(log, "Failed to open {0}: {1}", File, Ret.getError().message());
|
||||
return Ret;
|
||||
}
|
||||
|
@ -58,8 +58,6 @@
|
||||
#include "lldb/Core/Communication.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Host/ConnectionFileDescriptor.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Host/ThreadLauncher.h"
|
||||
@ -73,6 +71,7 @@
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/NameMatches.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "lldb/Core/ArchSpec.h"
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/ModuleSpec.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Symbol/ObjectFile.h"
|
||||
#include "lldb/Utility/CleanUp.h"
|
||||
@ -35,6 +34,7 @@
|
||||
#include "lldb/Utility/Endian.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
#include "lldb/Utility/UUID.h"
|
||||
#include "mach/machine.h"
|
||||
|
||||
|
@ -26,21 +26,18 @@
|
||||
// Other libraries and framework includes
|
||||
// Project includes
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Target/Platform.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Utility/DataExtractor.h"
|
||||
#include "lldb/Utility/Endian.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
|
||||
#include "lldb/Utility/CleanUp.h"
|
||||
#include "lldb/Utility/DataBufferHeap.h"
|
||||
#include "lldb/Utility/DataExtractor.h"
|
||||
#include "lldb/Utility/Endian.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/NameMatches.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
|
||||
#include "llvm/Support/Host.h"
|
||||
|
||||
|
@ -23,21 +23,18 @@
|
||||
// Other libraries and framework includes
|
||||
// Project includes
|
||||
#include "lldb/Core/Module.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Target/Platform.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Utility/DataExtractor.h"
|
||||
#include "lldb/Utility/Endian.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
|
||||
#include "lldb/Utility/CleanUp.h"
|
||||
#include "lldb/Utility/DataBufferHeap.h"
|
||||
#include "lldb/Utility/DataExtractor.h"
|
||||
#include "lldb/Utility/Endian.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/NameMatches.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
|
||||
#include "llvm/Support/Host.h"
|
||||
|
||||
|
@ -16,10 +16,10 @@
|
||||
|
||||
#include "lldb/Host/posix/ConnectionFileDescriptorPosix.h"
|
||||
#include "lldb/Host/Config.h"
|
||||
#include "lldb/Host/IOObject.h"
|
||||
#include "lldb/Host/Socket.h"
|
||||
#include "lldb/Host/SocketAddress.h"
|
||||
#include "lldb/Utility/SelectHelper.h"
|
||||
#include "lldb/Utility/Timeout.h"
|
||||
|
||||
// C Includes
|
||||
#include <errno.h>
|
||||
@ -42,13 +42,12 @@
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#endif
|
||||
// Project includes
|
||||
#include "lldb/Core/Communication.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/Socket.h"
|
||||
#include "lldb/Host/common/TCPSocket.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/StreamString.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
using namespace lldb;
|
||||
using namespace lldb_private;
|
||||
|
@ -15,16 +15,14 @@
|
||||
// C++ Includes
|
||||
// Other libraries and framework includes
|
||||
// Project includes
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/StructuredData.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Target/Process.h"
|
||||
#include "lldb/Utility/DataBufferHeap.h"
|
||||
#include "lldb/Utility/DataExtractor.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Status.h"
|
||||
#include "lldb/Utility/StructuredData.h"
|
||||
|
||||
#include "llvm/Support/ConvertUTF.h"
|
||||
|
||||
|
@ -17,10 +17,10 @@
|
||||
#include "Plugins/ObjectFile/ELF/ObjectFileELF.h"
|
||||
#include "Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.h"
|
||||
#include "Plugins/Process/gdb-remote/ProcessGDBRemoteLog.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Host/Host.h"
|
||||
#include "lldb/Host/HostInfo.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#include "Plugins/ObjectFile/Mach-O/ObjectFileMachO.h"
|
||||
|
@ -45,9 +45,9 @@
|
||||
#include "lldb/Core/PluginManager.h"
|
||||
#include "lldb/Core/State.h"
|
||||
#include "lldb/Core/StreamFile.h"
|
||||
#include "lldb/Core/Timer.h"
|
||||
#include "lldb/Utility/Log.h"
|
||||
#include "lldb/Utility/Stream.h"
|
||||
#include "lldb/Utility/Timer.h"
|
||||
|
||||
#ifndef LLDB_DISABLE_LIBEDIT
|
||||
#include "lldb/Host/Editline.h"
|
||||
|
@ -1326,7 +1326,7 @@ size_t ABIMacOSX_arm::GetRedZoneSize() const { return 0; }
|
||||
//------------------------------------------------------------------
|
||||
|
||||
ABISP
|
||||
ABIMacOSX_arm::CreateInstance(const ArchSpec &arch) {
|
||||
ABIMacOSX_arm::CreateInstance(ProcessSP process_sp, const ArchSpec &arch) {
|
||||
static ABISP g_abi_sp;
|
||||
const llvm::Triple::ArchType arch_type = arch.GetTriple().getArch();
|
||||
const llvm::Triple::VendorType vendor_type = arch.GetTriple().getVendor();
|
||||
@ -1335,7 +1335,7 @@ ABIMacOSX_arm::CreateInstance(const ArchSpec &arch) {
|
||||
if ((arch_type == llvm::Triple::arm) ||
|
||||
(arch_type == llvm::Triple::thumb)) {
|
||||
if (!g_abi_sp)
|
||||
g_abi_sp.reset(new ABIMacOSX_arm);
|
||||
g_abi_sp.reset(new ABIMacOSX_arm(process_sp));
|
||||
return g_abi_sp;
|
||||
}
|
||||
}
|
||||
@ -1546,16 +1546,14 @@ bool ABIMacOSX_arm::GetArgumentValues(Thread &thread, ValueList &values) const {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ABIMacOSX_arm::IsArmv7kProcess(Thread *thread) const {
|
||||
bool ABIMacOSX_arm::IsArmv7kProcess() const {
|
||||
bool is_armv7k = false;
|
||||
if (thread) {
|
||||
ProcessSP process_sp(thread->GetProcess());
|
||||
if (process_sp) {
|
||||
const ArchSpec &arch(process_sp->GetTarget().GetArchitecture());
|
||||
const ArchSpec::Core system_core = arch.GetCore();
|
||||
if (system_core == ArchSpec::eCore_arm_armv7k) {
|
||||
is_armv7k = true;
|
||||
}
|
||||
ProcessSP process_sp(GetProcessSP());
|
||||
if (process_sp) {
|
||||
const ArchSpec &arch(process_sp->GetTarget().GetArchitecture());
|
||||
const ArchSpec::Core system_core = arch.GetCore();
|
||||
if (system_core == ArchSpec::eCore_arm_armv7k) {
|
||||
is_armv7k = true;
|
||||
}
|
||||
}
|
||||
return is_armv7k;
|
||||
@ -1588,7 +1586,7 @@ ValueObjectSP ABIMacOSX_arm::GetReturnValueObjectImpl(
|
||||
default:
|
||||
return return_valobj_sp;
|
||||
case 128:
|
||||
if (IsArmv7kProcess(&thread)) {
|
||||
if (IsArmv7kProcess()) {
|
||||
// "A composite type not larger than 16 bytes is returned in r0-r3. The
|
||||
// format is
|
||||
// as if the result had been stored in memory at a word-aligned address
|
||||
@ -1755,8 +1753,7 @@ Status ABIMacOSX_arm::SetReturnValueObject(lldb::StackFrameSP &frame_sp,
|
||||
set_it_simple = true;
|
||||
}
|
||||
}
|
||||
} else if (num_bytes <= 16 &&
|
||||
IsArmv7kProcess(frame_sp->GetThread().get())) {
|
||||
} else if (num_bytes <= 16 && IsArmv7kProcess()) {
|
||||
// "A composite type not larger than 16 bytes is returned in r0-r3. The
|
||||
// format is
|
||||
// as if the result had been stored in memory at a word-aligned address
|
||||
|
@ -66,7 +66,7 @@ class ABIMacOSX_arm : public lldb_private::ABI {
|
||||
const lldb_private::RegisterInfo *
|
||||
GetRegisterInfoArray(uint32_t &count) override;
|
||||
|
||||
bool IsArmv7kProcess(lldb_private::Thread *thread) const;
|
||||
bool IsArmv7kProcess() const;
|
||||
|
||||
//------------------------------------------------------------------
|
||||
// Static Functions
|
||||
@ -76,7 +76,7 @@ class ABIMacOSX_arm : public lldb_private::ABI {
|
||||
|
||||
static void Terminate();
|
||||
|
||||
static lldb::ABISP CreateInstance(const lldb_private::ArchSpec &arch);
|
||||
static lldb::ABISP CreateInstance(lldb::ProcessSP process_sp, const lldb_private::ArchSpec &arch);
|
||||
|
||||
static lldb_private::ConstString GetPluginNameStatic();
|
||||
|
||||
@ -94,7 +94,7 @@ class ABIMacOSX_arm : public lldb_private::ABI {
|
||||
lldb_private::CompilerType &ast_type) const override;
|
||||
|
||||
private:
|
||||
ABIMacOSX_arm() : lldb_private::ABI() {
|
||||
ABIMacOSX_arm(lldb::ProcessSP process_sp) : lldb_private::ABI(process_sp) {
|
||||
// Call CreateInstance instead.
|
||||
}
|
||||
};
|
||||
|
@ -1666,7 +1666,7 @@ size_t ABIMacOSX_arm64::GetRedZoneSize() const { return 128; }
|
||||
//------------------------------------------------------------------
|
||||
|
||||
ABISP
|
||||
ABIMacOSX_arm64::CreateInstance(const ArchSpec &arch) {
|
||||
ABIMacOSX_arm64::CreateInstance(ProcessSP process_sp, const ArchSpec &arch) {
|
||||
static ABISP g_abi_sp;
|
||||
const llvm::Triple::ArchType arch_type = arch.GetTriple().getArch();
|
||||
const llvm::Triple::VendorType vendor_type = arch.GetTriple().getVendor();
|
||||
@ -1674,7 +1674,7 @@ ABIMacOSX_arm64::CreateInstance(const ArchSpec &arch) {
|
||||
if (vendor_type == llvm::Triple::Apple) {
|
||||
if (arch_type == llvm::Triple::aarch64) {
|
||||
if (!g_abi_sp)
|
||||
g_abi_sp.reset(new ABIMacOSX_arm64);
|
||||
g_abi_sp.reset(new ABIMacOSX_arm64(process_sp));
|
||||
return g_abi_sp;
|
||||
}
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ class ABIMacOSX_arm64 : public lldb_private::ABI {
|
||||
|
||||
static void Terminate();
|
||||
|
||||
static lldb::ABISP CreateInstance(const lldb_private::ArchSpec &arch);
|
||||
static lldb::ABISP CreateInstance(lldb::ProcessSP process_sp, const lldb_private::ArchSpec &arch);
|
||||
|
||||
//------------------------------------------------------------------
|
||||
// PluginInterface protocol
|
||||
@ -102,7 +102,7 @@ class ABIMacOSX_arm64 : public lldb_private::ABI {
|
||||
lldb_private::CompilerType &ast_type) const override;
|
||||
|
||||
private:
|
||||
ABIMacOSX_arm64() : lldb_private::ABI() {
|
||||
ABIMacOSX_arm64(lldb::ProcessSP process_sp) : lldb_private::ABI(process_sp) {
|
||||
// Call CreateInstance instead.
|
||||
}
|
||||
};
|
||||
|
@ -713,13 +713,13 @@ size_t ABIMacOSX_i386::GetRedZoneSize() const { return 0; }
|
||||
//------------------------------------------------------------------
|
||||
|
||||
ABISP
|
||||
ABIMacOSX_i386::CreateInstance(const ArchSpec &arch) {
|
||||
ABIMacOSX_i386::CreateInstance(lldb::ProcessSP process_sp, const ArchSpec &arch) {
|
||||
static ABISP g_abi_sp;
|
||||
if ((arch.GetTriple().getArch() == llvm::Triple::x86) &&
|
||||
(arch.GetTriple().isMacOSX() || arch.GetTriple().isiOS() ||
|
||||
arch.GetTriple().isWatchOS())) {
|
||||
if (!g_abi_sp)
|
||||
g_abi_sp.reset(new ABIMacOSX_i386);
|
||||
g_abi_sp.reset(new ABIMacOSX_i386(process_sp));
|
||||
return g_abi_sp;
|
||||
}
|
||||
return ABISP();
|
||||
|
@ -81,7 +81,7 @@ class ABIMacOSX_i386 : public lldb_private::ABI {
|
||||
|
||||
static void Terminate();
|
||||
|
||||
static lldb::ABISP CreateInstance(const lldb_private::ArchSpec &arch);
|
||||
static lldb::ABISP CreateInstance(lldb::ProcessSP process_sp, const lldb_private::ArchSpec &arch);
|
||||
|
||||
//------------------------------------------------------------------
|
||||
// PluginInterface protocol
|
||||
@ -101,7 +101,7 @@ class ABIMacOSX_i386 : public lldb_private::ABI {
|
||||
bool RegisterIsCalleeSaved(const lldb_private::RegisterInfo *reg_info);
|
||||
|
||||
private:
|
||||
ABIMacOSX_i386() : lldb_private::ABI() {
|
||||
ABIMacOSX_i386(lldb::ProcessSP process_sp) : lldb_private::ABI(process_sp) {
|
||||
// Call CreateInstance instead.
|
||||
}
|
||||
};
|
||||
|
@ -1327,7 +1327,7 @@ size_t ABISysV_arm::GetRedZoneSize() const { return 0; }
|
||||
//------------------------------------------------------------------
|
||||
|
||||
ABISP
|
||||
ABISysV_arm::CreateInstance(const ArchSpec &arch) {
|
||||
ABISysV_arm::CreateInstance(lldb::ProcessSP process_sp, const ArchSpec &arch) {
|
||||
static ABISP g_abi_sp;
|
||||
const llvm::Triple::ArchType arch_type = arch.GetTriple().getArch();
|
||||
const llvm::Triple::VendorType vendor_type = arch.GetTriple().getVendor();
|
||||
@ -1336,7 +1336,7 @@ ABISysV_arm::CreateInstance(const ArchSpec &arch) {
|
||||
if ((arch_type == llvm::Triple::arm) ||
|
||||
(arch_type == llvm::Triple::thumb)) {
|
||||
if (!g_abi_sp)
|
||||
g_abi_sp.reset(new ABISysV_arm);
|
||||
g_abi_sp.reset(new ABISysV_arm(process_sp));
|
||||
return g_abi_sp;
|
||||
}
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ class ABISysV_arm : public lldb_private::ABI {
|
||||
|
||||
static void Terminate();
|
||||
|
||||
static lldb::ABISP CreateInstance(const lldb_private::ArchSpec &arch);
|
||||
static lldb::ABISP CreateInstance(lldb::ProcessSP process_sp, const lldb_private::ArchSpec &arch);
|
||||
|
||||
static lldb_private::ConstString GetPluginNameStatic();
|
||||
|
||||
@ -94,7 +94,7 @@ class ABISysV_arm : public lldb_private::ABI {
|
||||
lldb_private::CompilerType &ast_type) const override;
|
||||
|
||||
private:
|
||||
ABISysV_arm() : lldb_private::ABI() {
|
||||
ABISysV_arm(lldb::ProcessSP process_sp) : lldb_private::ABI(process_sp) {
|
||||
// Call CreateInstance instead.
|
||||
}
|
||||
};
|
||||
|
@ -1670,7 +1670,7 @@ size_t ABISysV_arm64::GetRedZoneSize() const { return 128; }
|
||||
//------------------------------------------------------------------
|
||||
|
||||
ABISP
|
||||
ABISysV_arm64::CreateInstance(const ArchSpec &arch) {
|
||||
ABISysV_arm64::CreateInstance(lldb::ProcessSP process_sp, const ArchSpec &arch) {
|
||||
static ABISP g_abi_sp;
|
||||
const llvm::Triple::ArchType arch_type = arch.GetTriple().getArch();
|
||||
const llvm::Triple::VendorType vendor_type = arch.GetTriple().getVendor();
|
||||
@ -1678,7 +1678,7 @@ ABISysV_arm64::CreateInstance(const ArchSpec &arch) {
|
||||
if (vendor_type != llvm::Triple::Apple) {
|
||||
if (arch_type == llvm::Triple::aarch64) {
|
||||
if (!g_abi_sp)
|
||||
g_abi_sp.reset(new ABISysV_arm64);
|
||||
g_abi_sp.reset(new ABISysV_arm64(process_sp));
|
||||
return g_abi_sp;
|
||||
}
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ class ABISysV_arm64 : public lldb_private::ABI {
|
||||
|
||||
static void Terminate();
|
||||
|
||||
static lldb::ABISP CreateInstance(const lldb_private::ArchSpec &arch);
|
||||
static lldb::ABISP CreateInstance(lldb::ProcessSP process_sp, const lldb_private::ArchSpec &arch);
|
||||
|
||||
static lldb_private::ConstString GetPluginNameStatic();
|
||||
|
||||
@ -101,7 +101,7 @@ class ABISysV_arm64 : public lldb_private::ABI {
|
||||
lldb_private::CompilerType &ast_type) const override;
|
||||
|
||||
private:
|
||||
ABISysV_arm64() : lldb_private::ABI() {
|
||||
ABISysV_arm64(lldb::ProcessSP process_sp) : lldb_private::ABI(process_sp) {
|
||||
// Call CreateInstance instead.
|
||||
}
|
||||
};
|
||||
|
@ -1019,11 +1019,11 @@ size_t ABISysV_hexagon::GetRedZoneSize() const { return 0; }
|
||||
//------------------------------------------------------------------
|
||||
|
||||
ABISP
|
||||
ABISysV_hexagon::CreateInstance(const ArchSpec &arch) {
|
||||
ABISysV_hexagon::CreateInstance(lldb::ProcessSP process_sp, const ArchSpec &arch) {
|
||||
static ABISP g_abi_sp;
|
||||
if (arch.GetTriple().getArch() == llvm::Triple::hexagon) {
|
||||
if (!g_abi_sp)
|
||||
g_abi_sp.reset(new ABISysV_hexagon);
|
||||
g_abi_sp.reset(new ABISysV_hexagon(process_sp));
|
||||
return g_abi_sp;
|
||||
}
|
||||
return ABISP();
|
||||
|
@ -84,7 +84,7 @@ class ABISysV_hexagon : public lldb_private::ABI {
|
||||
|
||||
static void Terminate();
|
||||
|
||||
static lldb::ABISP CreateInstance(const lldb_private::ArchSpec &arch);
|
||||
static lldb::ABISP CreateInstance(lldb::ProcessSP process_sp, const lldb_private::ArchSpec &arch);
|
||||
|
||||
static lldb_private::ConstString GetPluginNameStatic();
|
||||
|
||||
@ -106,7 +106,7 @@ class ABISysV_hexagon : public lldb_private::ABI {
|
||||
bool RegisterIsCalleeSaved(const lldb_private::RegisterInfo *reg_info);
|
||||
|
||||
private:
|
||||
ABISysV_hexagon() : lldb_private::ABI() {
|
||||
ABISysV_hexagon(lldb::ProcessSP process_sp) : lldb_private::ABI(process_sp) {
|
||||
// Call CreateInstance instead.
|
||||
}
|
||||
};
|
||||
|
@ -203,12 +203,12 @@ ABISysV_i386::GetRegisterInfoArray(uint32_t &count) {
|
||||
//------------------------------------------------------------------
|
||||
|
||||
ABISP
|
||||
ABISysV_i386::CreateInstance(const ArchSpec &arch) {
|
||||
ABISysV_i386::CreateInstance(lldb::ProcessSP process_sp, const ArchSpec &arch) {
|
||||
static ABISP g_abi_sp;
|
||||
if ((arch.GetTriple().getArch() == llvm::Triple::x86) &&
|
||||
arch.GetTriple().isOSLinux()) {
|
||||
if (!g_abi_sp)
|
||||
g_abi_sp.reset(new ABISysV_i386);
|
||||
g_abi_sp.reset(new ABISysV_i386(process_sp));
|
||||
return g_abi_sp;
|
||||
}
|
||||
return ABISP();
|
||||
|
@ -89,7 +89,7 @@ class ABISysV_i386 : public lldb_private::ABI {
|
||||
|
||||
static void Terminate();
|
||||
|
||||
static lldb::ABISP CreateInstance(const lldb_private::ArchSpec &arch);
|
||||
static lldb::ABISP CreateInstance(lldb::ProcessSP process_sp, const lldb_private::ArchSpec &arch);
|
||||
|
||||
//------------------------------------------------------------------
|
||||
// PluginInterface protocol
|
||||
@ -109,7 +109,7 @@ class ABISysV_i386 : public lldb_private::ABI {
|
||||
bool RegisterIsCalleeSaved(const lldb_private::RegisterInfo *reg_info);
|
||||
|
||||
private:
|
||||
ABISysV_i386() : lldb_private::ABI() {
|
||||
ABISysV_i386(lldb::ProcessSP process_sp) : lldb_private::ABI(process_sp) {
|
||||
// Call CreateInstance instead.
|
||||
}
|
||||
};
|
||||
|
@ -559,13 +559,13 @@ size_t ABISysV_mips::GetRedZoneSize() const { return 0; }
|
||||
//------------------------------------------------------------------
|
||||
|
||||
ABISP
|
||||
ABISysV_mips::CreateInstance(const ArchSpec &arch) {
|
||||
ABISysV_mips::CreateInstance(lldb::ProcessSP process_sp, const ArchSpec &arch) {
|
||||
static ABISP g_abi_sp;
|
||||
const llvm::Triple::ArchType arch_type = arch.GetTriple().getArch();
|
||||
if ((arch_type == llvm::Triple::mips) ||
|
||||
(arch_type == llvm::Triple::mipsel)) {
|
||||
if (!g_abi_sp)
|
||||
g_abi_sp.reset(new ABISysV_mips);
|
||||
g_abi_sp.reset(new ABISysV_mips(process_sp));
|
||||
return g_abi_sp;
|
||||
}
|
||||
return ABISP();
|
||||
|
@ -74,7 +74,7 @@ class ABISysV_mips : public lldb_private::ABI {
|
||||
|
||||
static void Terminate();
|
||||
|
||||
static lldb::ABISP CreateInstance(const lldb_private::ArchSpec &arch);
|
||||
static lldb::ABISP CreateInstance(lldb::ProcessSP process_sp, const lldb_private::ArchSpec &arch);
|
||||
|
||||
static lldb_private::ConstString GetPluginNameStatic();
|
||||
|
||||
@ -96,7 +96,7 @@ class ABISysV_mips : public lldb_private::ABI {
|
||||
bool RegisterIsCalleeSaved(const lldb_private::RegisterInfo *reg_info);
|
||||
|
||||
private:
|
||||
ABISysV_mips() : lldb_private::ABI() {
|
||||
ABISysV_mips(lldb::ProcessSP process_sp) : lldb_private::ABI(process_sp) {
|
||||
// Call CreateInstance instead.
|
||||
}
|
||||
};
|
||||
|
@ -559,13 +559,13 @@ size_t ABISysV_mips64::GetRedZoneSize() const { return 0; }
|
||||
//------------------------------------------------------------------
|
||||
|
||||
ABISP
|
||||
ABISysV_mips64::CreateInstance(const ArchSpec &arch) {
|
||||
ABISysV_mips64::CreateInstance(lldb::ProcessSP process_sp, const ArchSpec &arch) {
|
||||
static ABISP g_abi_sp;
|
||||
const llvm::Triple::ArchType arch_type = arch.GetTriple().getArch();
|
||||
if ((arch_type == llvm::Triple::mips64) ||
|
||||
(arch_type == llvm::Triple::mips64el)) {
|
||||
if (!g_abi_sp)
|
||||
g_abi_sp.reset(new ABISysV_mips64);
|
||||
g_abi_sp.reset(new ABISysV_mips64(process_sp));
|
||||
return g_abi_sp;
|
||||
}
|
||||
return ABISP();
|
||||
|
@ -87,7 +87,7 @@ class ABISysV_mips64 : public lldb_private::ABI {
|
||||
|
||||
static void Terminate();
|
||||
|
||||
static lldb::ABISP CreateInstance(const lldb_private::ArchSpec &arch);
|
||||
static lldb::ABISP CreateInstance(lldb::ProcessSP process_sp, const lldb_private::ArchSpec &arch);
|
||||
|
||||
static lldb_private::ConstString GetPluginNameStatic();
|
||||
|
||||
@ -109,7 +109,7 @@ class ABISysV_mips64 : public lldb_private::ABI {
|
||||
bool RegisterIsCalleeSaved(const lldb_private::RegisterInfo *reg_info);
|
||||
|
||||
private:
|
||||
ABISysV_mips64() : lldb_private::ABI() {
|
||||
ABISysV_mips64(lldb::ProcessSP process_sp) : lldb_private::ABI(process_sp) {
|
||||
// Call CreateInstance instead.
|
||||
}
|
||||
};
|
||||
|
@ -223,11 +223,11 @@ size_t ABISysV_ppc::GetRedZoneSize() const { return 224; }
|
||||
//------------------------------------------------------------------
|
||||
|
||||
ABISP
|
||||
ABISysV_ppc::CreateInstance(const ArchSpec &arch) {
|
||||
ABISysV_ppc::CreateInstance(lldb::ProcessSP process_sp, const ArchSpec &arch) {
|
||||
static ABISP g_abi_sp;
|
||||
if (arch.GetTriple().getArch() == llvm::Triple::ppc) {
|
||||
if (!g_abi_sp)
|
||||
g_abi_sp.reset(new ABISysV_ppc);
|
||||
g_abi_sp.reset(new ABISysV_ppc(process_sp));
|
||||
return g_abi_sp;
|
||||
}
|
||||
return ABISP();
|
||||
|
@ -83,7 +83,7 @@ class ABISysV_ppc : public lldb_private::ABI {
|
||||
|
||||
static void Terminate();
|
||||
|
||||
static lldb::ABISP CreateInstance(const lldb_private::ArchSpec &arch);
|
||||
static lldb::ABISP CreateInstance(lldb::ProcessSP process_sp, const lldb_private::ArchSpec &arch);
|
||||
|
||||
static lldb_private::ConstString GetPluginNameStatic();
|
||||
|
||||
@ -105,7 +105,7 @@ class ABISysV_ppc : public lldb_private::ABI {
|
||||
bool RegisterIsCalleeSaved(const lldb_private::RegisterInfo *reg_info);
|
||||
|
||||
private:
|
||||
ABISysV_ppc() : lldb_private::ABI() {
|
||||
ABISysV_ppc(lldb::ProcessSP process_sp) : lldb_private::ABI(process_sp) {
|
||||
// Call CreateInstance instead.
|
||||
}
|
||||
};
|
||||
|
@ -223,11 +223,11 @@ size_t ABISysV_ppc64::GetRedZoneSize() const { return 224; }
|
||||
//------------------------------------------------------------------
|
||||
|
||||
ABISP
|
||||
ABISysV_ppc64::CreateInstance(const ArchSpec &arch) {
|
||||
ABISysV_ppc64::CreateInstance(lldb::ProcessSP process_sp, const ArchSpec &arch) {
|
||||
static ABISP g_abi_sp;
|
||||
if (arch.GetTriple().getArch() == llvm::Triple::ppc64) {
|
||||
if (!g_abi_sp)
|
||||
g_abi_sp.reset(new ABISysV_ppc64);
|
||||
g_abi_sp.reset(new ABISysV_ppc64(process_sp));
|
||||
return g_abi_sp;
|
||||
}
|
||||
return ABISP();
|
||||
|
@ -83,7 +83,7 @@ class ABISysV_ppc64 : public lldb_private::ABI {
|
||||
|
||||
static void Terminate();
|
||||
|
||||
static lldb::ABISP CreateInstance(const lldb_private::ArchSpec &arch);
|
||||
static lldb::ABISP CreateInstance(lldb::ProcessSP process_sp, const lldb_private::ArchSpec &arch);
|
||||
|
||||
static lldb_private::ConstString GetPluginNameStatic();
|
||||
|
||||
@ -105,7 +105,7 @@ class ABISysV_ppc64 : public lldb_private::ABI {
|
||||
bool RegisterIsCalleeSaved(const lldb_private::RegisterInfo *reg_info);
|
||||
|
||||
private:
|
||||
ABISysV_ppc64() : lldb_private::ABI() {
|
||||
ABISysV_ppc64(lldb::ProcessSP process_sp) : lldb_private::ABI(process_sp) {
|
||||
// Call CreateInstance instead.
|
||||
}
|
||||
};
|
||||
|
@ -205,11 +205,11 @@ size_t ABISysV_s390x::GetRedZoneSize() const { return 0; }
|
||||
//------------------------------------------------------------------
|
||||
|
||||
ABISP
|
||||
ABISysV_s390x::CreateInstance(const ArchSpec &arch) {
|
||||
ABISysV_s390x::CreateInstance(lldb::ProcessSP process_sp, const ArchSpec &arch) {
|
||||
static ABISP g_abi_sp;
|
||||
if (arch.GetTriple().getArch() == llvm::Triple::systemz) {
|
||||
if (!g_abi_sp)
|
||||
g_abi_sp.reset(new ABISysV_s390x);
|
||||
g_abi_sp.reset(new ABISysV_s390x(process_sp));
|
||||
return g_abi_sp;
|
||||
}
|
||||
return ABISP();
|
||||
|
@ -77,7 +77,7 @@ class ABISysV_s390x : public lldb_private::ABI {
|
||||
|
||||
static void Terminate();
|
||||
|
||||
static lldb::ABISP CreateInstance(const lldb_private::ArchSpec &arch);
|
||||
static lldb::ABISP CreateInstance(lldb::ProcessSP process_sp, const lldb_private::ArchSpec &arch);
|
||||
|
||||
static lldb_private::ConstString GetPluginNameStatic();
|
||||
|
||||
@ -99,7 +99,7 @@ class ABISysV_s390x : public lldb_private::ABI {
|
||||
bool RegisterIsCalleeSaved(const lldb_private::RegisterInfo *reg_info);
|
||||
|
||||
private:
|
||||
ABISysV_s390x() : lldb_private::ABI() {
|
||||
ABISysV_s390x(lldb::ProcessSP process_sp) : lldb_private::ABI(process_sp) {
|
||||
// Call CreateInstance instead.
|
||||
}
|
||||
};
|
||||
|
@ -1093,11 +1093,11 @@ size_t ABISysV_x86_64::GetRedZoneSize() const { return 128; }
|
||||
//------------------------------------------------------------------
|
||||
|
||||
ABISP
|
||||
ABISysV_x86_64::CreateInstance(const ArchSpec &arch) {
|
||||
ABISysV_x86_64::CreateInstance(lldb::ProcessSP process_sp, const ArchSpec &arch) {
|
||||
static ABISP g_abi_sp;
|
||||
if (arch.GetTriple().getArch() == llvm::Triple::x86_64) {
|
||||
if (!g_abi_sp)
|
||||
g_abi_sp.reset(new ABISysV_x86_64);
|
||||
g_abi_sp.reset(new ABISysV_x86_64(process_sp));
|
||||
return g_abi_sp;
|
||||
}
|
||||
return ABISP();
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user