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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to