Skip to content

Fix MCCAS issue with LEB and CVInline Fragments. #11224

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

Open
wants to merge 1 commit into
base: stable/21.x
Choose a base branch
from

Conversation

rastogishubham
Copy link

The 2100 branch took a snapshot of MC changes which reclassified LEB and CVInline fragments as Encoded Fragments. We need to add support for serializing both these fragment types in
MCDataFragmentMerger::emitMergedFragments. This patch accomplishes that task.

rdar://157494251

The 2100 branch took a snapshot of MC changes which reclassified LEB
and CVInline fragments as Encoded Fragments. We need to add support for
serializing both these fragment types in
MCDataFragmentMerger::emitMergedFragments. This patch accomplishes that
task.

rdar://157494251
@cachemeifyoucan
Copy link

Is it possible to write a test for it?

@rastogishubham
Copy link
Author

@cachemeifyoucan I don't know how to generate an .ll file where it guarantees that the MCAssembler will contain an FT_LEB fragment and/or a FT_CVInlineLines fragment. Only thing I can think of is reducing the testcase that broke with delta and llvm-reduce to get something smaller. I can do that

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