Skip to content

[elf] AsmPrinter doesn't quote section name when necessary #9405

@jsonn

Description

@jsonn
Bugzilla Link 9033
Resolution FIXED
Resolved on Mar 03, 2011 16:32
Version trunk
OS Linux
Attachments Potential fix
CC @asl

Extended Description

Consider the following input:

.section "foo bar"

With the patch from PR 8948, llvm-mc gives the following output:

.section	__TEXT,__text,regular,pure_instructions
.section	foo bar,"",@progbits

This is not equivalent to the original input and can't be parsed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions