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@cs.uiuc.edu
          Reporter: jal...@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.
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to