[compiler-rt] r317963 - [sanitizer] Include stack trace check into signal tests

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 12 14:07:35 PST 2017


thanks
it's fixed now

On Fri, Nov 10, 2017 at 9:27 PM, Maxim Kuvyrkov <maxim.kuvyrkov at linaro.org>
wrote:

> Hi Vitaly,
>
> It seems like this change broke armhf-full bot: http://lab.llvm.org:8011/
> builders/clang-cmake-armv7-a15-full/builds/12220 .  Would you please
> investigate?
>
> Thanks,
>
> --
> Maxim Kuvyrkov
> www.linaro.org
>
>
>
> > On Nov 11, 2017, at 4:30 AM, Vitaly Buka via llvm-commits <
> llvm-commits at lists.llvm.org> wrote:
> >
> > Author: vitalybuka
> > Date: Fri Nov 10 17:30:03 2017
> > New Revision: 317963
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=317963&view=rev
> > Log:
> > [sanitizer] Include stack trace check into signal tests
> >
> > Modified:
> >    compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/assert.cc
> >    compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/ill.cc
> >    compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/fpe.cc
> >
> > Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/
> Linux/assert.cc
> > URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/
> test/sanitizer_common/TestCases/Linux/assert.cc?rev=
> 317963&r1=317962&r2=317963&view=diff
> > ============================================================
> ==================
> > --- compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/assert.cc
> (original)
> > +++ compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/assert.cc
> Fri Nov 10 17:30:03 2017
> > @@ -22,6 +22,9 @@ int main(int argc, char **argv) {
> >   __sanitizer_set_death_callback(death);
> >   assert(argc == 100);
> > }
> > -// CHECK1: ERROR: {{.*}}Sanitizer:
> > +
> > +// CHECK0-NOT: Sanitizer:DEADLYSIGNAL
> > +// CHECK1: ERROR: {{.*}}Sanitizer: ABRT
> > +// CHECK1: {{#[0-9]+.* main .*assert\.cc}}:[[@LINE-5]]
> > // CHECK1: DEATH CALLBACK
> > // CHECK0-NOT: Sanitizer
> >
> > Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/ill.cc
> > URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/
> test/sanitizer_common/TestCases/Linux/ill.cc?rev=
> 317963&r1=317962&r2=317963&view=diff
> > ============================================================
> ==================
> > --- compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/ill.cc
> (original)
> > +++ compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/ill.cc Fri
> Nov 10 17:30:03 2017
> > @@ -24,6 +24,9 @@ int main(int argc, char **argv) {
> >   __sanitizer_set_death_callback(death);
> >   __builtin_trap();
> > }
> > -// CHECK1: ERROR: {{.*}}Sanitizer:
> > +
> > +// CHECK0-NOT: Sanitizer:DEADLYSIGNAL
> > +// CHECK1: ERROR: {{.*}}Sanitizer: ILL
> > +// CHECK1: {{#[0-9]+.* main .*ill\.cc:[0-9]+}}
> > // CHECK1: DEATH CALLBACK
> > // CHECK0-NOT: Sanitizer
> >
> > Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/fpe.cc
> > URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/
> test/sanitizer_common/TestCases/Posix/fpe.cc?rev=
> 317963&r1=317962&r2=317963&view=diff
> > ============================================================
> ==================
> > --- compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/fpe.cc
> (original)
> > +++ compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/fpe.cc Fri
> Nov 10 17:30:03 2017
> > @@ -24,6 +24,9 @@ int main(int argc, char **argv) {
> >   volatile int sink;
> >   sink = one / zero;
> > }
> > -// CHECK1: ERROR: {{.*}}Sanitizer:
> > +
> > +// CHECK0-NOT: Sanitizer:DEADLYSIGNAL
> > +// CHECK1: ERROR: {{.*}}Sanitizer: FPE
> > +// CHECK1: {{#[0-9]+.* main .*fpe\.cc}}:[[@LINE-5]]
> > // CHECK1: DEATH CALLBACK
> > // CHECK0-NOT: Sanitizer
> >
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at lists.llvm.org
> > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171112/6044345f/attachment.html>


More information about the llvm-commits mailing list