[LLVMbugs] [Bug 5006] New: clang-cc -ast-print-xml get a Assertion failed error when operating on objective-C headers

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Sep 18 14:21:39 PDT 2009


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

           Summary: clang-cc -ast-print-xml get a Assertion failed error
                    when operating on objective-C headers
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: AST
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: kremenek at apple.com
                CC: llvmbugs at cs.uiuc.edu


When using clang-cc "-ast-print-xml" argument, I experience an Assertion Failed
error (see below). This is for llvm revision 81368

Here is the command I used on the Foundation.h header:
./clang-cc -ast-print-xml --mcpu=yonah -v  -o /tmp/output.xml -x=objective-c
/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h

This also is seen in other objective-C headers such as AppKit.h,
SecurityFoundation.h, etc.

Related: <rdar://problem/7232178>


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