Skip to content

Handle old LLVM pass manager on rustc 1.57#197

Merged
smoelius merged 2 commits intorust-fuzz:masterfrom
smoelius:master
Dec 22, 2021
Merged

Handle old LLVM pass manager on rustc 1.57#197
smoelius merged 2 commits intorust-fuzz:masterfrom
smoelius:master

Conversation

@smoelius
Copy link
Copy Markdown
Member

@smoelius smoelius commented Dec 16, 2021

The new LLVM pass manager was not enabled in rustc 1.57 as expected: rust-lang/rust#91263

The proposed fix to only pass -C passes=sancov-module to nightly compilers for which the LLVM version is >= 13.

Closes #192

@taiki-e Perhaps you could look this over.

Copy link
Copy Markdown
Contributor

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@smoelius
Copy link
Copy Markdown
Member Author

Thanks a lot, @taiki-e.

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.

Unknown pass name 'sancov'

2 participants