[lldb-dev] [Bug 21795] New: lldb crashes when a user variable is declared within a block expression
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Dec 9 14:09:02 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21795
Bug ID: 21795
Summary: lldb crashes when a user variable is declared within a
block expression
Product: lldb
Version: unspecified
Hardware: Macintosh
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at cs.uiuc.edu
Reporter: jalkut at red-sweater.com
Classification: Unclassified
Created attachment 13446
--> http://llvm.org/bugs/attachment.cgi?id=13446&action=edit
Crash log obtained by trying to declare a user variable within block scope.
I'm playing around with trying to save block expressions to user variables, and
while doing so I ended up trying to declare some internal block variables as
user variables as well. This reliably crashes lldb on my machine:
lldb -n TextEdit (or any process)
This works:
expr void (^$myBlock)(void) = ^void(void){ int hello; }
This crashes:
expr void (^$myBlock)(void) = ^void(void){ int $hello; }
Typical crash log attached.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20141209/56a4863b/attachment.html>
More information about the lldb-dev
mailing list