[LLVMbugs] [Bug 8443] New: named metadata not quotable

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 22 15:45:14 PDT 2010


           Summary: named metadata not quotable
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM assembly language parser
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu, sliao at google.com

This works:

  !foo = !{!0}
  !0 = metadata !{metadata "zero"}

but it doesn't seem to support quoting these:

  !"foo" = !{!0}

which reports "error: expected integer" or

  "!foo" = !{!0}

which reports "error: expected 'type' after name". Since I'm generating
metadata nodes with names that include characters that need escaping, I have
.bc files which I can't safely llvm-dis | llvm-as (the disassembler prints
without quoting).

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