[Lldb-commits] [PATCH] D146679: [lldb] Add support for the DW_AT_trampoline attribute with mangled names
Augusto Noronha via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 22 17:58:35 PDT 2023
augusto2112 created this revision.
augusto2112 added reviewers: aprantl, jingham, dblaikie.
Herald added a reviewer: shafik.
Herald added a project: All.
augusto2112 requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
This patch adds support for the DW_AT_trampoline attribute whose values
are mangled names. This patch makes it so stepping into a trampoline
will step through to the target subprogram instead, stepping out from the
target subprogram will also step out of the trampoline, and that setting
breakpoints by name will (by default) ignore trampolines.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146679
Files:
lldb/include/lldb/Symbol/Function.h
lldb/include/lldb/Target/Target.h
lldb/include/lldb/Target/ThreadPlanRunToAddress.h
lldb/include/lldb/Target/ThreadPlanStepThrough.h
lldb/source/Core/Module.cpp
lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h
lldb/source/Symbol/Function.cpp
lldb/source/Target/Target.cpp
lldb/source/Target/TargetProperties.td
lldb/source/Target/ThreadPlanRunToAddress.cpp
lldb/source/Target/ThreadPlanShouldStopHere.cpp
lldb/source/Target/ThreadPlanStepThrough.cpp
lldb/test/API/lang/c/trampoline_stepping/Makefile
lldb/test/API/lang/c/trampoline_stepping/TestTrampolineStepping.py
lldb/test/API/lang/c/trampoline_stepping/main.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146679.507567.patch
Type: text/x-patch
Size: 25486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230323/b9e4863c/attachment-0001.bin>
More information about the lldb-commits
mailing list