};
namespace {
-
enum EnableJITLoaderGDB {
eEnableJITLoaderGDBDefault,
eEnableJITLoaderGDBOn,
g_jitloadergdb_properties[ePropertyEnable].default_uint_value);
}
};
+} // namespace
static PluginProperties &GetGlobalPluginProperties() {
static PluginProperties g_settings;
}
template <typename ptr_t>
-bool ReadJITEntry(const addr_t from_addr, Process *process,
- jit_code_entry<ptr_t> *entry) {
+static bool ReadJITEntry(const addr_t from_addr, Process *process,
+ jit_code_entry<ptr_t> *entry) {
lldbassert(from_addr % sizeof(ptr_t) == 0);
ArchSpec::Core core = process->GetTarget().GetArchitecture().GetCore();
return true;
}
-} // anonymous namespace end
-
JITLoaderGDB::JITLoaderGDB(lldb_private::Process *process)
: JITLoader(process), m_jit_objects(),
m_jit_break_id(LLDB_INVALID_BREAK_ID),
}
};
+} // namespace
+
static PluginProperties &GetGlobalPluginProperties() {
static PluginProperties g_settings;
return g_settings;
}
-} // namespace
-
static bool GetDebugLinkContents(const llvm::object::COFFObjectFile &coff_obj,
std::string &gnu_debuglink_file,
uint32_t &gnu_debuglink_crc) {
LLDB_PLUGIN_DEFINE(PlatformQemuUser)
+namespace {
#define LLDB_PROPERTIES_platformqemuuser
#include "PlatformQemuUserProperties.inc"
}
};
+} // namespace
+
static PluginProperties &GetGlobalProperties() {
static PluginProperties g_settings;
return g_settings;
}
};
+} // namespace
+
static PluginProperties &GetGlobalPluginProperties() {
static PluginProperties g_settings;
return g_settings;
}
-} // anonymous namespace end
-
static const lldb::tid_t g_kernel_tid = 1;
llvm::StringRef ProcessKDP::GetPluginDescriptionStatic() {
}
};
+} // namespace
+
static PluginProperties &GetGlobalPluginProperties() {
static PluginProperties g_settings;
return g_settings;
}
-} // namespace
-
// TODO Randomly assigning a port is unsafe. We should get an unused
// ephemeral port from the kernel and make sure we reserve it before passing it
// to debugserver.
}
};
+} // namespace
+
static PluginProperties &GetGlobalPluginProperties() {
static PluginProperties g_settings;
return g_settings;
}
-} // namespace
-
static const llvm::DWARFDebugLine::LineTable *
ParseLLVMLineTable(lldb_private::DWARFContext &context,
llvm::DWARFDebugLine &line, dw_offset_t line_offset,