Oh sorry, I thought you've already committed a fix. You can try to commit and see if this bot's happy afterwards.
вт, 7 апр. 2015 г. в 20:37, Timur Iskhodzhanov <[email protected]>: > http://lab.llvm.org:8011/builders/sanitizer-windows/builds/2329 > seems to be happy > > вт, 7 апр. 2015 г. в 20:24, Duncan P. N. Exon Smith <[email protected] > >: > > >> > On 2015-Apr-07, at 08:48, Duncan P. N. Exon Smith <[email protected]> >> wrote: >> > >> >> >> >> On 2015-Apr-07, at 04:32, Timur Iskhodzhanov <[email protected]> >> wrote: >> >> >> >> MSVC isn't happy with that, I've landed a band-aid fix in r234307. >> >> Please take a look! >> > >> > Thanks for this; looks like my bandaid on the LLVM side. Sorry I missed >> > the failure -- I went home once I saw that DwarfUnit.cpp was finally >> > building and didn't check for the clang build. >> > >> > I'll find a way to clean all this up this morning. >> > >> >> I think r234326 is the proper fix. Can someone with access to MSVC apply >> the attached reverts on top of and confirm that the build failures don't >> reappear? >> >> >> >> >> >> >> >> вт, 7 апр. 2015 г. в 7:21, Duncan P. N. Exon Smith < >> [email protected]>: >> >> >> >> Author: dexonsmith >> >> Date: Mon Apr 6 23:14:45 2015 >> >> New Revision: 234291 >> >> >> >> URL: http://llvm.org/viewvc/llvm-project?rev=234291&view=rev >> >> Log: >> >> DebugInfo: Update for LLVM change in r234290 >> >> >> >> The API for `DIArray` changed; use the new one. >> >> >> >> Modified: >> >> cfe/trunk/lib/CodeGen/CGDebugInfo.cpp >> >> >> >> Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp >> >> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CG >> DebugInfo.cpp?rev=234291&r1=234290&r2=234291&view=diff >> >> ============================================================ >> ================== >> >> --- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original) >> >> +++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Mon Apr 6 23:14:45 2015 >> >> @@ -1039,12 +1039,12 @@ llvm::DICompositeType CGDebugInfo::getOr >> >> llvm::DITypeArray Args( >> >> cast<llvm::MDSubroutineType>(getOrCreateType(QualType(Func, 0), >> Unit)) >> >> ->getTypeArray()); >> >> - assert(Args.getNumElements() && "Invalid number of arguments!"); >> >> + assert(Args.size() && "Invalid number of arguments!"); >> >> >> >> SmallVector<llvm::Metadata *, 16> Elts; >> >> >> >> // First element is always return type. For 'void' functions it is >> NULL. >> >> - Elts.push_back(Args.getElement(0)); >> >> + Elts.push_back(Args[0]); >> >> >> >> // "this" pointer is always first argument. >> >> const CXXRecordDecl *RD = ThisPtr->getPointeeCXXRecordDecl(); >> >> @@ -1072,8 +1072,8 @@ llvm::DICompositeType CGDebugInfo::getOr >> >> } >> >> >> >> // Copy rest of the arguments. >> >> - for (unsigned i = 1, e = Args.getNumElements(); i != e; ++i) >> >> - Elts.push_back(Args.getElement(i)); >> >> + for (unsigned i = 1, e = Args.size(); i != e; ++i) >> >> + Elts.push_back(Args[i]); >> >> >> >> llvm::DITypeArray EltTypeArray = DBuilder.getOrCreateTypeArray( >> Elts); >> >> >> >> >> >> >> >> _______________________________________________ >> >> cfe-commits mailing list >> >> [email protected] >> >> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >> > >> > >> > _______________________________________________ >> > cfe-commits mailing list >> > [email protected] >> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >> >>
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
