[MacRuby-devel] [MacRuby] #573: Creating a void pointer causes abort()

MacRuby ruby-noreply at macosforge.org
Tue Jan 26 21:50:00 PST 2010


#573: Creating a void pointer causes abort()
--------------------------------+-------------------------------------------
 Reporter:  carlo@…             |       Owner:  lsansonetti@…        
     Type:  defect              |      Status:  new                  
 Priority:  major               |   Milestone:  MacRuby 0.5          
Component:  MacRuby             |    Keywords:                       
--------------------------------+-------------------------------------------

Comment(by danielcavanagh@…):

 a patch to fix this issue

 firstly, it refactors the new-pointer code to avoid querying the size of
 void and reduces duplication as a side effect

 secondly, it alters get_sizeof() to not query llvm when passed an unsized
 typed, in case this happens again. really llvm should be doing this, but
 it doesn't so we just have to deal with it

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/573#comment:2>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list