Skip to content

Conversation

@wangleiat
Copy link
Contributor

This relocation is used for function calls with medium code model.

Created using spr 1.3.5-bogner
Copy link
Contributor

@SixWeining SixWeining left a comment

Choose a reason for hiding this comment

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

LGTM. Without this patch:

$ lli --code-model=medium hello.ll
JIT session error: Unsupported loongarch relocation:110: R_LARCH_CALL36
lli: Failed to materialize symbols: { (main, { main }) }

Copy link
Contributor

@lhames lhames left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @wangleiat!

@wangleiat wangleiat merged commit ca9f358 into main Nov 22, 2024
9 checks passed
@wangleiat wangleiat deleted the users/wangleiat/spr/jitlinkloongarch-add-support-for-r_larch_call36-relocation branch November 22, 2024 01:50
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.

4 participants