Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the need for the HAVE_COVERAGE check #504

Merged
merged 1 commit into from
Apr 25, 2024
Merged

Conversation

Alasdair
Copy link
Collaborator

Have the compiler generate a hook function that is either NULL or calls the coverage function the runtime wants to use, depending on whether coverage is enabled or not.

@Alasdair Alasdair force-pushed the coverage_rts2 branch 2 times, most recently from bde999f to f4bf5e3 Compare April 24, 2024 17:41
Copy link

github-actions bot commented Apr 24, 2024

Test Results

    9 files  ±0     20 suites  ±0   0s ⏱️ ±0s
  619 tests ±0    619 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 984 runs  ±0  1 983 ✅ ±0  1 💤 ±0  0 ❌ ±0 

Results for commit 3f0b6f6. ± Comparison against base commit 32874c6.

♻️ This comment has been updated with latest results.

Have the compiler generate a hook function that is either NULL or
calls the coverage function the runtime wants to use, depending on
whether coverage is enabled or not.
Copy link
Contributor

@marnovandermaas marnovandermaas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks quite reasonable to me. @elliotb-lowrisc can you test this with your setup?

@elliotb-lowrisc
Copy link
Contributor

Nice fix. It works for me locally

@Alasdair Alasdair merged commit cf808ff into sail2 Apr 25, 2024
7 of 9 checks passed
@Alasdair Alasdair deleted the coverage_rts2 branch April 25, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants