SIGILL when compiling cc
with -C instrument-coverage
-Z coverage-options=mcdc
#140677
Labels
A-code-coverage
Area: Source-based code coverage (-Cinstrument-coverage)
C-bug
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
As part of my project, I tried to compile
cc
(1.1.16
) with-C instrument-coverage
(enabled usingcargo-llvm-cov
). This was run on GitHub Actions Runners. These tools seem to work without issue on Desktop Windows (have not tried macOS or Linux).I expected to see this happen:
cc
successfully compiled with-C instrument-coverage
enabledInstead, this happened: I get a
SIGILL
error under Linux,[SIGTRAP](signal: 5, SIGTRAP: trace/breakpoint trap)
under macOS, andSTATUS_ILLEGAL_INSTRUCTION
on Windows.Meta
rustc --version --verbose
:Linux
Windows
macOS
Backtrace Linux
Backtrace Windows
Backtrace macOS
The text was updated successfully, but these errors were encountered: