[LLVMbugs] [Bug 14054] New: CXXInfo->BaseOffsets.count(Base) && "Did not find base!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 10 08:43:13 PDT 2012


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

             Bug #: 14054
           Summary: CXXInfo->BaseOffsets.count(Base) && "Did not find
                    base!
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


running "clang -cc1 -analyze  -analyzer-checker=core" crashes in

struct Definition;
struct ParseNode {
  union {
    struct {
      union {
      };
      Definition *lexdef;
    }
      name;
    class {
      int *target;
      ParseNode *data;
    }
      xmlpi;
  }
pn_u;
};
struct Definition : public ParseNode {
};
void CloneParseTree(ParseNode *opn, ParseNode *pn,  ParseNode *x) {
  pn->pn_u = opn->pn_u;
  x = pn->pn_u.name.lexdef->pn_u.name.lexdef;
}

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