r328837 - [analyzer] Fix target triple for autorelease-write-checker test
via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 29 18:32:34 PDT 2018
I've added "UNSUPPORTED: system-windows" in r328853. Hopefully that should disable it on Windows until you can get a chance to figure out the problem.
Douglas Yung
> -----Original Message-----
> From: ekarpenkov at apple.com [mailto:ekarpenkov at apple.com]
> Sent: Thursday, March 29, 2018 18:22
> To: Yung, Douglas
> Subject: Re: r328837 - [analyzer] Fix target triple for autorelease-write-
> checker test
>
> Hi Douglas,
>
> I am not at computer right now, maybe you could add UNSUPPORTED: windows or
> similar?
>
> Sent from my iPhone
>
> > On Mar 29, 2018, at 18:20, douglas.yung at sony.com wrote:
> >
> > Hi George,
> >
> > This test is still failing on a bot (http://lab.llvm.org:8011/builders/llvm-
> clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/16152):
> >
> > FAIL: Clang :: Analysis/autoreleasewritechecker_test.m (2908 of 39213)
> > ******************** TEST 'Clang ::
> > Analysis/autoreleasewritechecker_test.m' FAILED ********************
> > Script:
> > --
> > c:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\ll
> > vm.obj\bin\clang.EXE -cc1 -internal-isystem
> > c:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\ll
> > vm.obj\lib\clang\7.0.0\include -nostdsysteminc -analyze -DARC
> > -fobjc-arc -analyzer-checker=core,osx.cocoa.AutoreleaseWrite
> > C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\ll
> > vm.src\tools\clang\test\Analysis\autoreleasewritechecker_test.m
> > -triple x86_64-darwin -fblocks -verify
> > c:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\ll
> > vm.obj\bin\clang.EXE -cc1 -internal-isystem
> > c:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\ll
> > vm.obj\lib\clang\7.0.0\include -nostdsysteminc -analyze -DNOARC
> > -analyzer-checker=core,osx.cocoa.AutoreleaseWrite
> > C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\ll
> > vm.src\tools\clang\test\Analysis\autoreleasewritechecker_test.m
> > -fblocks -triple x86_64-darwin -verify
> > --
> > Exit Code: 1
> >
> > Command Output (stdout):
> > --
> > $ "c:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-
> fast\llvm.obj\bin\clang.EXE" "-cc1" "-internal-isystem" "c:\ps4-
> buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-
> fast\llvm.obj\lib\clang\7.0.0\include" "-nostdsysteminc" "-analyze" "-DARC" "-
> fobjc-arc" "-analyzer-checker=core,osx.cocoa.AutoreleaseWrite" "C:\ps4-
> buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-
> fast\llvm.src\tools\clang\test\Analysis\autoreleasewritechecker_test.m" "-
> triple" "x86_64-darwin" "-fblocks" "-verify"
> > # command stderr:
> > error: 'warning' diagnostics expected but not seen:
> >
> > File
> > C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\ll
> > vm.src\tools\clang\test\Analysis\autoreleasewritechecker_test.m Line
> > 71: Writing into an auto-releasing out parameter inside autorelease
> > pool that may exit before method returns
> >
> > File
> > C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\ll
> > vm.src\tools\clang\test\Analysis\autoreleasewritechecker_test.m Line
> > 125: Writing into an auto-releasing out
> >
> > File
> > C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\ll
> > vm.src\tools\clang\test\Analysis\autoreleasewritechecker_test.m Line
> > 131: Writing into an auto-releasing out
> >
> > File
> > C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\ll
> > vm.src\tools\clang\test\Analysis\autoreleasewritechecker_test.m Line
> > 132: Writing into an auto-releasing out
> >
> > File
> > C:\ps4-buildslave2\llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast\ll
> > vm.src\tools\clang\test\Analysis\autoreleasewritechecker_test.m Line
> > 152: Writing into an auto-releasing out
> >
> > 5 errors generated.
> >
> >
> > error: command failed with exit status: 1
> >
> >
> >
> > Could you please take a look?
> >
> > Douglas Yung
> >
> >> -----Original Message-----
> >> From: cfe-commits [mailto:cfe-commits-bounces at lists.llvm.org] On
> >> Behalf Of George Karpenkov via cfe-commits
> >> Sent: Thursday, March 29, 2018 15:28
> >> To: cfe-commits at lists.llvm.org
> >> Subject: r328837 - [analyzer] Fix target triple for
> >> autorelease-write-checker test
> >>
> >> Author: george.karpenkov
> >> Date: Thu Mar 29 15:28:04 2018
> >> New Revision: 328837
> >>
> >> URL: http://llvm.org/viewvc/llvm-project?rev=328837&view=rev
> >> Log:
> >> [analyzer] Fix target triple for autorelease-write-checker test
> >>
> >> Modified:
> >> cfe/trunk/test/Analysis/autoreleasewritechecker_test.m
> >>
> >> Modified: cfe/trunk/test/Analysis/autoreleasewritechecker_test.m
> >> URL: http://llvm.org/viewvc/llvm-
> >> project/cfe/trunk/test/Analysis/autoreleasewritechecker_test.m?rev=32
> >> 8837&r1=3
> >> 28836&r2=328837&view=diff
> >> =====================================================================
> >> =========
> >> --- cfe/trunk/test/Analysis/autoreleasewritechecker_test.m (original)
> >> +++ cfe/trunk/test/Analysis/autoreleasewritechecker_test.m Thu Mar 29
> >> +++ 15:28:04 2018
> >> @@ -1,4 +1,5 @@
> >> -// RUN: %clang_analyze_cc1 -DARC -fobjc-arc -analyzer-
> >> checker=core,osx.cocoa.AutoreleaseWrite %s -fblocks -verify
> >> +// RUN: %clang_analyze_cc1 -DARC -fobjc-arc
> >> +-analyzer-checker=core,osx.cocoa.AutoreleaseWrite %s -triple
> >> +x86_64-darwin -fblocks -verify // RUN: %clang_analyze_cc1 -DNOARC
> >> +-analyzer-checker=core,osx.cocoa.AutoreleaseWrite %s -fblocks
> >> +-triple x86_64-darwin -verify
> >>
> >>
> >> typedef signed char BOOL;
> >>
> >>
> >> _______________________________________________
> >> cfe-commits mailing list
> >> cfe-commits at lists.llvm.org
> >> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
More information about the cfe-commits
mailing list