http://llvm.org/bugs/show_bug.cgi?id=11483

Argyrios Kyrtzidis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |WORKSFORME

--- Comment #4 from Argyrios Kyrtzidis <[email protected]> 2012-03-15 18:12:25 
CDT ---
>From clangTest.c I had to change
    char *unsavedBuffer = mmap(0,  sb.st_size, PROT_READ, 0, fd, 0);
to
    char *unsavedBuffer = mmap(0,  sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0);

to get it work.

And I don't see crash on r152823.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to