Displaying 1 result from an estimated 1 matches for "sectbug".
Did you mean:
sectbuf
2013 Apr 19
3
[LLVMdev] funny llvm bug
...to fix.
It's a bug in the way the "section" attribute of functions is processed.
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...