Skip to content

Unexpected error: LLVM ERROR: expected relocatable expression #16551

@llvmbot

Description

@llvmbot
Bugzilla Link 16176
Version trunk
OS Linux
Attachments 2 tests a.s and d.s both show the same error.
Reporter LLVM Bugzilla Contributor

Extended Description

foo:
.word -foo

The above should be legal but I get a
LLVM ERROR: expected relocatable expression when using:

llvm-mc -filetype=obj

This is another example and generates the same error:

.Ltmp3:
.Ltmp5:
.Ltmp13:
.word (.Ltmp5-.Ltmp3)-.Ltmp13

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillainvalidResolved as invalid, i.e. not a bugllvm-toolsAll llvm tools that do not have corresponding tagllvm:mcMachine (object) code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions