[llvm-bugs] [Bug 32526] New: [AArch64] asm prints # for imms that is used for directives
llvm-bugs at lists.llvm.org
Tue Apr 4 17:11:26 PDT 2017
Bug ID: 32526
Summary: [AArch64] asm prints # for imms that is used for
OS: Windows NT
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));
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...
More information about the llvm-bugs