[Lldb-commits] [lldb] febc4ff - [lldb][AArch64][NFC] Fix typo in get trap handler function
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 24 03:36:31 PDT 2023
Author: David Spickett
Date: 2023-10-24T10:36:20Z
New Revision: febc4ff74a4e0311c3663fa5d690c59f7f692583
URL: https://github.com/llvm/llvm-project/commit/febc4ff74a4e0311c3663fa5d690c59f7f692583
DIFF: https://github.com/llvm/llvm-project/commit/febc4ff74a4e0311c3663fa5d690c59f7f692583.diff
LOG: [lldb][AArch64][NFC] Fix typo in get trap handler function
Added:
Modified:
lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp b/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
index 149f541a5d3d96c..dd50bfc2dc04a37 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 {};
}
More information about the lldb-commits
mailing list