• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ivmai / libatomic_ops / 544
96%

Build:
DEFAULT BRANCH: master
Ran 11 Aug 2022 06:09AM UTC
Jobs 1
Files 10
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Aug 2022 06:09AM UTC coverage: 96.807% (+0.3%) from 96.557%
544

push

travis-ci-com

ivmai
Fix AO_compare_and_swap_full asm code for clang on sparc

Issue #52 (libatomic_ops).

The issue (SIGSEGV in test_malloc) is observed with clang-13, at least.
The workaround is to simplify asm code of AO_compare_and_swap_full
(moving the comparison of CAS result and old value to C code).

* src/atomic_ops/sysdeps/gcc/sparc.h [(!(AO_GNUC_PREREQ(12,0)
|| AO_CLANG_PREREQ(13,0)) || AO_DISABLE_GCC_ATOMICS) && !AO_NO_SPARC_V9
&& !AO_GENERALIZE_ASM_BOOL_CAS] (AO_compare_and_swap_full): Remove ret
local variable; remove cmp, be, mov, clr instructions from asm block
(to match that of AO_fetch_compare_and_swap_full); remove cc from asm
block clobbers; change specifier for old input operand of asm block
(from "0" to "r"); return new_val==old instead of ret.

1061 of 1096 relevant lines covered (96.81%)

1716894.79 hits per line

Jobs
ID Job ID Ran Files Coverage
6 544.6 (CONF_OPTIONS="--enable-gcov --enable-shared" CC_FOR_CHECK=gcc MAKEFILE_TARGET=all REPORT_COVERAGE=true CFLAGS_EXTRA="-march=native -D DEBUG_RUN_ONE_TEST -D VERBOSE_STACK") 11 Aug 2022 06:09AM UTC 0
96.81
Travis Job 544.6
Source Files on build 544
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #544
  • 124c97a9 on github
  • Prev Build on master (#542)
  • Next Build on master (#548)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc