[Lldb-commits] [lldb] r176438 - <rdar://problem/12897838>

Enrico Granata egranata at apple.com
Mon Mar 4 09:28:14 PST 2013


Agreed.
This is mostly a workaround until the actual issue can be figured out and solved.

Thanks for keeping your eyes open :)

Enrico Granata
✉ egranata@.com
✆ 27683

On Mar 4, 2013, at 9:24 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:

> On Mon, Mar 4, 2013 at 7:20 PM, Enrico Granata <egranata at apple.com> wrote:
>> Author: enrico
>> Date: Mon Mar  4 11:20:57 2013
>> New Revision: 176438
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=176438&view=rev
>> Log:
>> <rdar://problem/12897838>
>> 
>> Making sure we do not try to copy memory at address 0 - that would make us crash
> 
> Enrico,
> 
> I don't know what the radar is about, but this looks fragile: touching
> any other address that is not mapped would still lead to a crash,
> won't it?
> 
> Dmitri
> 
> -- 
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20130304/32a3240a/attachment.html>


More information about the lldb-commits mailing list