[LLVMbugs] [Bug 15788] New: problem with function section attribute
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Apr 18 18:57:49 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15788
Bug ID: 15788
Summary: problem with function section attribute
Product: tools
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: llc
Assignee: unassignedbugs at nondot.org
Reporter: rkotler at mips.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Consider the following code:
void x(int i) __attribute((section(".mySection,\"aw\", at progbits#")));
void x(int i) {
}
If you compile this with gcc you get:
.file "sectbug.c"
.section .mySection,"aw", at progbits#,"ax", at progbits
.globl x
With Clang you get
.file "sectbug.c"
.section ".mySection,\"aw\", at progbits#","ax", at progbits
.globl x
It needs to unquote the string.
--
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/20130419/5acc643f/attachment.html>
More information about the llvm-bugs
mailing list