Skip to content

[BUG] Mach-O relocation syntax not supported #6

Description

@sajibsrs

Bug Description

Syntax like: adrp x1, buffer@PAGE, mov w0, #'\n' breaks the highlight feature on the next line.

Update: It also breaks the hover action (help popup/modal).

Steps to Reproduce

    mov     x0, #0
    adrp    x1, buffer@PAGE
    add     x1, X1, buffer@PAGEOFF
    mov     x2, #64
    mov     x16, #3
    svc     #0x80

Environment

  • OS: MacOS 26
  • ArmLS Version: [unsure]
  • VSCode Extension Version: 0.12.1

Possible Solution (Optional)

; fixes the issues if used at the end. But ; isn't supported as a comment at the moment #3 . So, ;// works as a temporary solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions