[Lldb-commits] [PATCH] D43884: [lldb] Extract more fields from NSException values

Kuba (Brecka) Mracek via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 28 10:34:59 PST 2018


kubamracek created this revision.
kubamracek added reviewers: jingham, jasonmolenda.

This patch teaches LLDB about more fields on NSException Obj-C objects, specifically we can now retrieve the "name" and "reason" of an NSException. The goal is to eventually be able to have SB API that can provide details about the currently thrown/caught/processed exception.


https://reviews.llvm.org/D43884

Files:
  packages/Python/lldbsuite/test/lang/objc/exceptions/Makefile
  packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py
  packages/Python/lldbsuite/test/lang/objc/exceptions/main.m
  source/Plugins/Language/ObjC/NSArray.cpp
  source/Plugins/Language/ObjC/NSException.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43884.136332.patch
Type: text/x-patch
Size: 14811 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180228/8b4bca45/attachment-0001.bin>


More information about the lldb-commits mailing list