[LLVMbugs] [Bug 8574] New: Assert when doing -ast-dump

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Nov 9 13:20:41 PST 2010


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

           Summary: Assert when doing -ast-dump
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: jim at thegoodnows.net
                CC: llvmbugs at cs.uiuc.edu


Invoking "clang -cc1 -ast-dump t.cpp" where t.cpp just contains:

#include <vector>

results in the following:

clang:
/home/jimg/llvm/tools/clang/lib/Basic/../../include/clang/Basic/SourceManager.h:274:
const clang::SrcMgr::FileInfo& clang::SrcMgr::SLocEntry::getFile() const:
Assertion `isFile() && "Not a file SLocEntry!"' failed.
0  libLLVM-2.9svn.so 0x01a62708
Stack dump:
0.    Program arguments: clang -cc1 -ast-dump t.cpp 
1.    <eof> parser at end of file

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