[LLVMbugs] [Bug 19533] New: @ in llvm symbol name makes generated .s not usable in OSX as

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 23 13:18:01 PDT 2014


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

            Bug ID: 19533
           Summary: @ in llvm symbol name makes generated .s not usable in
                    OSX as
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: ck at remobjects.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Compiling the following .ll with clang or llc to an asm file (-S) generates an
invalid non-quoted symbol name:

    target triple = "x86_64-apple-macosx10.9.0"

    @"IVAR_$_MZArray. at p_type" = global i32 15

Generates:

        .section        __TEXT,__text,regular,pure_instructions
        .section        __DATA,__data
        .globl  _IVAR_$_MZArray. at p_type ## @"IVAR_$_MZArray. at p_type"
        .align  2
_IVAR_$_MZArray. at p_type:
        .long   15                      ## 0xf


.subsections_via_symbols

which as chokes on:
test.s:3:Rest of line ignored. 1st junk character valued 64 (@).
test.s:5:invalid character '_' in mnemonic

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140423/d2f476c9/attachment.html>


More information about the llvm-bugs mailing list