[all-commits] [llvm/llvm-project] 2a062d: [lldb] Add SBFunction::GetBaseName() & SBSymbol::G...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Thu Aug 28 19:11:14 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2a062d693693f92d80656cb2b334b7dc8e08121f
https://github.com/llvm/llvm-project/commit/2a062d693693f92d80656cb2b334b7dc8e08121f
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-08-28 (Thu, 28 Aug 2025)
Changed paths:
M lldb/include/lldb/API/SBFunction.h
M lldb/include/lldb/API/SBSymbol.h
M lldb/include/lldb/Core/Mangled.h
M lldb/source/API/SBFunction.cpp
M lldb/source/API/SBSymbol.cpp
M lldb/source/Core/Mangled.cpp
A lldb/test/API/python_api/basename/Makefile
A lldb/test/API/python_api/basename/TestGetBaseName.py
A lldb/test/API/python_api/basename/main.cpp
Log Message:
-----------
[lldb] Add SBFunction::GetBaseName() & SBSymbol::GetBaseName() (#155939)
When you are trying for instance to set a breakpoint on a function by
name, but the SBFunction or SBSymbol are returning demangled names with
argument lists, that match can be tedious to do. Internally, the base
name of a symbol is something we handle all the time, so it's reasonable
that there should be a way to get that info from the API as well.
rdar://159318791
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list