Skip to content

Fix kcfi test failing when using upstream LLVM#106015

Closed
alanzhao1 wants to merge 1 commit into
rust-lang:masterfrom
alanzhao1:bugfix/kcfi-test
Closed

Fix kcfi test failing when using upstream LLVM#106015
alanzhao1 wants to merge 1 commit into
rust-lang:masterfrom
alanzhao1:bugfix/kcfi-test

Conversation

@alanzhao1

@alanzhao1 alanzhao1 commented Dec 21, 2022

Copy link
Copy Markdown

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

rustbot commented Dec 21, 2022

Copy link
Copy Markdown
Collaborator

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

MaskRay commented Dec 22, 2022

Copy link
Copy Markdown
Contributor

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

@nikic

nikic commented Dec 22, 2022

Copy link
Copy Markdown
Contributor

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