This change replaces calls to SBFrame.GetFunctionName() with
SBFrame.GetDisplayFunctionName() which can return much more user
friendly names in some cases, particularly for Swift code.
A trivial example:
main.swift
class Doer {
static func doTheThing() {
print("Hello World!")
}
}
Doer.doTheThing()lldb
(lldb) script >>> frame = lldb.debugger.GetSelectedTarget().GetProcess().GetSelectedThread().GetSelectedFrame() >>> frame.GetDisplayFunctionName() 'static Doer.doTheThing()' >>> frame.GetFunctionName() 'static main.Doer.doTheThing() -> ()'