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

Add -fprofile-sample-use #4531

Merged
merged 3 commits into from
Nov 23, 2023
Merged

Conversation

JohanEngelen
Copy link
Member

@JohanEngelen JohanEngelen commented Nov 22, 2023

Resolves issue #4527

Still a work in progress because I am not sure if it really works: IR output of the testcase shows !30 = !{!"function_entry_count", i64 -1} for foo, whereas I guess it should say 100 instead of -1. Fixed it, debug line info is needed for actual use ofcourse! (-gline-tables-only suffices).

@JohanEngelen JohanEngelen merged commit de948bd into ldc-developers:master Nov 23, 2023
23 checks passed
@JohanEngelen JohanEngelen deleted the samplepgo branch November 23, 2023 18:11
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.

2 participants