[Lldb-commits] [PATCH] D16938: A number of improvements to decorator conditionals

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 5 17:26:46 PST 2016


zturner updated this revision to Diff 47068.
zturner added a comment.

Minor change that allows any iterable to be used (not just lists), and also recurses through the `_match_decorator_property` function for each item in the iterable, instead of just doing a simple list membership.  Combined with the regex change and the `no_match` change from function to object, this allows complex specifications such as `archs=['mips.*', 'i[0-9]86', no_match('x86_x64)']`  (not that that particular condition makes sense, but might as well support it).


http://reviews.llvm.org/D16938

Files:
  packages/Python/lldbsuite/test/decorators.py
  packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py
  packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py
  packages/Python/lldbsuite/test/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16938.47068.patch
Type: text/x-patch
Size: 6749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160206/a5167678/attachment-0001.bin>


More information about the lldb-commits mailing list