http://llvm.org/bugs/show_bug.cgi?id=8443

           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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to