[Lldb-commits] [PATCH] D71309: [FormatEntity] Add mangled function name support
Med Ismail Bennani via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 10 15:32:23 PST 2019
mib created this revision.
mib added a project: LLDB.
Add `function.mangled-name` key for FormatEntity to show the mangled
function names in backtraces.
rdar://54088244
Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>
LanguageRuntime: Simplify NSException::GetSummary() output
Right now, NSException::GetSummary() output is the following:
"name: $exception_name - reason: $exception_reason"
It would be better to simplify the output by removing the name and only
showing the exception's reason. This way, annotations would look nicer in
the editor, and would be a shorter summary in the Variables Inspector.
Accessing the exception's name can still be done by expanding the
NSException object in the Variables Inspector.
rdar://54770115
Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71309
Files:
lldb/docs/use/formatting.rst
lldb/include/lldb/Core/FormatEntity.h
lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjNSException.py
lldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py
lldb/source/Core/FormatEntity.cpp
lldb/source/Plugins/Language/ObjC/NSException.cpp
lldb/test/Shell/Settings/Inputs/main.cpp
lldb/test/Shell/Settings/TestFrameFormatMangling.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71309.233207.patch
Type: text/x-patch
Size: 12012 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191210/f0bc72fe/attachment-0001.bin>
More information about the lldb-commits
mailing list