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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.@p_type" = global i32 15
Generates:
.section __TEXT,__text,regular,pure_instructions
.section __DATA,__data
.globl _IVAR_$_MZArray.@p_type ## @"IVAR_$_MZArray.@p_type"
.align 2
_IVAR_$_MZArray.@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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs