[llvm-bugs] [Bug 25558] New: Clang interprets input as unicode in assembly file
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Nov 17 11:19:09 PST 2015
https://llvm.org/bugs/show_bug.cgi?id=25558
Bug ID: 25558
Summary: Clang interprets input as unicode in assembly file
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: viniciustinti at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 15305
--> https://llvm.org/bugs/attachment.cgi?id=15305&action=edit
Example: macro.S and clang generated files macro.s and macro.ll
When trying to build the following code:
// macro.S
//
// clang -target arm-linux-gnueabihf -no-integrated-as -S -c -o macro.s macro.S
//
.macro my_macro, trace=1, uaccess=1
.if \uaccess
mov r0, r0
.endif
.endm
foo:
my_macro trace=0
// end
Clang interprets the \uacce as an Unicode character and emits it in the
assembly file. It even emits it in the bitcode file.
--
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/20151117/e8b4ef15/attachment.html>
More information about the llvm-bugs
mailing list