[llvm-bugs] [Bug 32526] New: [AArch64] asm prints # for imms that is used for directives
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Apr 4 17:11:26 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=32526
Bug ID: 32526
Summary: [AArch64] asm prints # for imms that is used for
directives
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: weimingz at codeaurora.org
CC: llvm-bugs at lists.llvm.org
Given code like
#define SET_SYM(sym, val) asm(" .set " #sym ", %0" :: "I"(val));
ASM_EXPORT(foo, sizeof(bar));
Clang will print the asm like ".set foo, #10"
The "#" causes the assembling error.
GNU compiler works fine.
--
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/20170405/b7df6cf1/attachment.html>
More information about the llvm-bugs
mailing list