This patch adds a new overload to Language::SymbolNameFitsToLanguage
that only requires a char const* parameter instead of a Mangled
object. This is useful for future efforts in which parts of the
CPlusPlusLanguage plugin will avoid using Mangled in favour
of the Itanium mangle tree API.
Details
- Reviewers
aprantl
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/include/lldb/Target/Language.h | ||
---|---|---|
210 |
|
lldb/include/lldb/Target/Language.h | ||
---|---|---|
210 |
I wanted to avoid creating a Mangled object in the code-path where we use the mangle tree API since we'd then be demangling the function symbol twice. But you're right, we can just keep this in class CPlusPlusLanguage I plan to only use it there.
Yup StringRef would make sense |