Skip to content

Autogenerated filename string symbol is incompatible with some assemblers #15799

Closed
@expipiplus1

Description

@expipiplus1

The assembler for the Gameboy Advance specifically, part of devkitARM.

rustc outputs the LLVM IR constant : @"strName(956)" = internal constant [8 x i8] c"hello.rs"
This is faithfully translated to

"strName(956)":
        .ascii  "hello.rs"
        .size   "strName(956)", 8

This version of as can't deal with quotes and brackets in symbol names. For this assembler it'll be necessary to mangle any offending symbol names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions