[LLVMbugs] [Bug 11254] New: Reparsing crashes for files that use pragmas when precompiled preamble is enabled
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Oct 28 10:33:52 PDT 2011
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: unassignedclangbugs at nondot.org
ReportedBy: matthias_kleine at gmx.de
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
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.
More information about the llvm-bugs
mailing list