summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2023-10-24 10:29:36 +0000
committerDavid Spickett <david.spickett@linaro.org>2023-10-24 10:36:20 +0000
commitfebc4ff74a4e0311c3663fa5d690c59f7f692583 (patch)
tree87bb42b20984955a41d590bc0987d9f9cc108d04 /lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
parent858d6a15a0baea233c032e5048968f1cfbbed876 (diff)
[lldb][AArch64][NFC] Fix typo in get trap handler function
Diffstat (limited to 'lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp')
-rw-r--r--lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp b/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
index 149f541a5d3d..dd50bfc2dc04 100644
--- a/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
+++ b/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
@@ -205,7 +205,7 @@ void PlatformLinux::CalculateTrapHandlerSymbolNames() {
m_trap_handlers.push_back(ConstString("__restore_rt"));
}
-static lldb::UnwindPlanSP GetAArch64TrapHanlderUnwindPlan(ConstString name) {
+static lldb::UnwindPlanSP GetAArch64TrapHandlerUnwindPlan(ConstString name) {
UnwindPlanSP unwind_plan_sp;
if (name != "__kernel_rt_sigreturn")
return unwind_plan_sp;
@@ -290,7 +290,7 @@ lldb::UnwindPlanSP
PlatformLinux::GetTrapHandlerUnwindPlan(const llvm::Triple &triple,
ConstString name) {
if (triple.isAArch64())
- return GetAArch64TrapHanlderUnwindPlan(name);
+ return GetAArch64TrapHandlerUnwindPlan(name);
return {};
}