Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Accept blank spaces between register and offset #572

Merged
merged 1 commit into from
May 26, 2024

Conversation

LucasSte
Copy link

Problem

When we dump assembly from LLVM (either llvm-objdump or llc), we use a space between the register and the offset in memory operations (e.g. [r10 - 8]), but the assembly parser does not support it.

Solution

Fix the parser to accept the spaces.

@LucasSte LucasSte marked this pull request as draft May 24, 2024 21:45
@LucasSte LucasSte requested a review from Lichtso May 24, 2024 22:01
@LucasSte LucasSte marked this pull request as ready for review May 24, 2024 22:01
@LucasSte LucasSte changed the title Accept spaces between register and offset Accept blank spaces between register and offset May 24, 2024
@LucasSte LucasSte merged commit c478374 into solana-labs:main May 26, 2024
12 checks passed
@LucasSte LucasSte deleted the parser branch May 26, 2024 14:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants