Skip to content

String literals in assembly file #1

@kavon

Description

@kavon
➤ ../bin/pmlc -sequential -mlrisc literal.pml 
literal.s:2131:9: error: invalid escape sequence (unrecognized character) in '.asciz' directive
        .asciz  "mlrisc\'s string literal bug"
                ^
error compiling generated assembly code

from the following program

val _ = print "mlrisc's string literal bug"

On Ubuntu 18.04, likely using clang to compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmlriscinvolves the MLRISC backendtrunkrelated to the trunk branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions