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

ivmai / libatomic_ops / 551
97%
master: 96%

Build:
Build:
LAST BUILD BRANCH: draft-travis
DEFAULT BRANCH: master
Ran 24 Aug 2022 11:56AM 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

24 Aug 2022 11:56AM UTC coverage: 97.056%. Remained the same
551

push

travis-ci-com

ivmai
Fix AO_compare_and_swap_full asm code for clang on sparc
(a cherry-pick of commit 124c97a9a from 'master')

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.

1055 of 1087 relevant lines covered (97.06%)

1723759.24 hits per line

Jobs
ID Job ID Ran Files Coverage
33 551.33 (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") 24 Aug 2022 11:56AM UTC 0
97.06
Travis Job 551.33
Source Files on build 551
  • Tree
  • List 10
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #551
  • f3af982b on github
  • Prev Build on release-7_6 (#545)
  • Next Build on release-7_6 (#556)
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