[LLVMbugs] [Bug 12555] New: llc generates invalid assembler labels for some identifiers

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 14 02:20:09 PDT 2012


             Bug #: 12555
           Summary: llc generates invalid assembler labels for some
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nmgasson at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 8388
  --> http://llvm.org/bugs/attachment.cgi?id=8388
Contains valid LLVM identifiers but invalid asm output

If I have a LLVM identifier containing an @ symbol like @"bar()@!yah" then llc
generates X86 assembler with an invalid label:

  bar_28__29_ at _21_yah:

The other unusual characters (, ), and ! have been replaced with _XX_ and I
expect this is what should happen with @ but I can't see where in the LLVM
source this replacement happens.

See attached chars.ll for an example.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list