aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
-rw-r--r--contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp b/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
index 0c032f8a7c88..e168241fb2c9 100644
--- a/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
+++ b/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
@@ -577,7 +577,7 @@ struct RenderScriptRuntime::Element {
array_size; // Number of items in array, only needed for structs
ConstString type_name; // Name of type, only needed for structs
- static ConstString
+ static ConstString
GetFallbackStructName(); // Print this as the type name of a struct Element
// If we can't resolve the actual struct name
@@ -879,7 +879,7 @@ RSReduceBreakpointResolver::SearchCallback(lldb_private::SearchFilter &filter,
LLDB_LOGF(log, "%s: %s reduction breakpoint on %s in %s",
__FUNCTION__, new_bp ? "new" : "existing",
kernel_name.GetCString(),
- address.GetModule()->GetFileSpec().GetCString());
+ address.GetModule()->GetFileSpec().GetPath().c_str());
}
}
}
@@ -2984,7 +2984,8 @@ bool RSModuleDescriptor::ParseRSInfo() {
const llvm::StringRef raw_rs_info((const char *)buffer->GetBytes());
raw_rs_info.split(info_lines, '\n');
LLDB_LOGF(log, "'.rs.info symbol for '%s':\n%s",
- m_module->GetFileSpec().GetCString(), raw_rs_info.str().c_str());
+ m_module->GetFileSpec().GetPath().c_str(),
+ raw_rs_info.str().c_str());
}
enum {
@@ -4112,7 +4113,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return llvm::makeArrayRef(g_renderscript_reduction_bp_set_options);
+ return llvm::ArrayRef(g_renderscript_reduction_bp_set_options);
}
bool ParseReductionTypes(llvm::StringRef option_val,
@@ -4264,7 +4265,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return llvm::makeArrayRef(g_renderscript_kernel_bp_set_options);
+ return llvm::ArrayRef(g_renderscript_kernel_bp_set_options);
}
RSCoordinate m_coord;
@@ -4544,7 +4545,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return llvm::makeArrayRef(g_renderscript_runtime_alloc_dump_options);
+ return llvm::ArrayRef(g_renderscript_runtime_alloc_dump_options);
}
FileSpec m_outfile;
@@ -4662,7 +4663,7 @@ public:
void OptionParsingStarting(ExecutionContext *exe_ctx) override { m_id = 0; }
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return llvm::makeArrayRef(g_renderscript_runtime_alloc_list_options);
+ return llvm::ArrayRef(g_renderscript_runtime_alloc_list_options);
}
uint32_t m_id = 0;