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

           Summary: Reparsing crashes for files that use pragmas when
                    precompiled preamble is enabled
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Created an attachment (id=7545)
 --> (http://llvm.org/bugs/attachment.cgi?id=7545)
Source Files + Python script to trigger reparse

Trying to re-parse the attached file with PrecompiledPreamble enabled crashes
libclang. It reports the following assertion:

Assertion failed: (0 && "Invalid SLocOffset or bad function choice"), function
getFileIDLoaded, file
/Users/mkl/projects/llvm/llvm/tools/clang/lib/Basic/SourceManager.cpp, line
735.
libclang: crash detected during reparsing

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