[Lldb-commits] [PATCH] D11119: Parse breakpoint expressions using the language of the frame's CU.
dawn+llvm at burble.org
Sat Jul 11 02:20:33 PDT 2015
dawn created this revision.
dawn added reviewers: clayborg, spyffe, zturner.
dawn added a subscriber: lldb-commits.
dawn set the repository for this revision to rL LLVM.
The language must be known in order to correctly set the name_type_mask for languages like Pascal and Java. For example, to set a breakpoint on 'ns.foo' for a Pascal function 'foo' in namespace 'ns', we need to know that the language is Pascal in order to set the lookup masks to (eFunctionNameTypeMethod | eFunctionNameTypeBase) and the basename to "foo", just as we would in C++ for 'ns::foo'.
This patch solves this problem by using the language of the selected frame (similar to gdb). Getting the language from user settings is also planned. This patch (and others) paves the way for the PascalLanguageRuntime support to come, which will be called if the language is Pascal.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10646 bytes
Desc: not available
More information about the lldb-commits