Skip to content

Fix kcfi test failing when using upstream LLVM #106015

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

Closed
wants to merge 1 commit into from
Closed

Fix kcfi test failing when using upstream LLVM #106015

wants to merge 1 commit into from

Conversation

alanzhao1
Copy link

@alanzhao1 alanzhao1 commented Dec 21, 2022

As described in the FIXME, the string <unknown kind #36> is replaced with kcfi_type when Rust is built against LLVM 16, so this patch fixes the test to tolerate both outputs.

As described in the FIXME, the string <unknown kind #36> is replaced
with kcfi_type when Rust is built against LLVM 16, so this patch fixes
the test to tolerate both outputs.
@rustbot
Copy link
Collaborator

rustbot commented Dec 21, 2022

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Mark-Simulacrum (or someone else) soon.

Please see the contribution instructions for more information.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 21, 2022
@MaskRay
Copy link
Contributor

MaskRay commented Dec 22, 2022

LGTM as a reviewer of -fsanitize=kcfi on llvm-project side.

@nikic
Copy link
Contributor

nikic commented Dec 22, 2022

Closing this as a duplicate of #105567.

@nikic nikic closed this Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants