[LLVMbugs] [Bug 11483] New: Crash in libclang when reparsing

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 5 09:55:07 PST 2011


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

             Bug #: 11483
           Summary: Crash in libclang when reparsing
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: csdavec at swan.ac.uk
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7671
  --> http://llvm.org/bugs/attachment.cgi?id=7671
Test program

The attached program demonstrates a crash in libclang.  The before.m and
after.m files are two versions of the same (preprocessed) source file.  after.m
has had the word 'static' added on a new line after some existing top-level
declarations.  When reparsing with after.m passed as an unsaved buffer,
libclang crashes.

The clangTest.c file contains a simple program that demonstrates the crash.

-- 
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