[LLVMbugs] [Bug 11483] Crash in libclang when reparsing
    bugzilla-daemon at llvm.org 
    bugzilla-daemon at llvm.org
       
    Thu Mar 15 16:12:25 PDT 2012
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=11483
Argyrios Kyrtzidis <akyrtzi at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |akyrtzi at gmail.com
         Resolution|                            |WORKSFORME
--- Comment #4 from Argyrios Kyrtzidis <akyrtzi at gmail.com> 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.
    
    
More information about the llvm-bugs
mailing list