[Lldb-commits] [PATCH] D11119: Parse breakpoint expressions using the language of the frame's CU.
clayborg at gmail.com
Wed Jul 15 11:39:58 PDT 2015
clayborg added a comment.
I would like to see the following:
- Add a new class named PascalLanguageRuntime and have it be able to figure out how to chop pascal names up into a basename and the larger string to then compare against.
- Add a --language <language> to "breakpoint set" and pass it along if needed
- Modify the Module::PrepareForFunctionNameLookup() to look at the language (which should default to "eLanguageTypeUnknown") and skip C++ if language it not eLanguageTypeUnknown and not related to C++. Have it call functions in your new PascalLanguageRuntime like a new (at least make PascalLanguageRuntime::ExtractContextAndIdentifier(...)).
More information about the lldb-commits