Displaying 4 results from an estimated 4 matches for "0123456789_".
Did you mean:
0123456789
2013 Apr 19
3
[LLVMdev] funny llvm bug
This is a feature (or bug) of MCSectionELF::PrintSwitchToSection. For
ELF target this function tries to escape string if it founds
'suspicious' character, see implementation in MCSectionELF.cpp:
StringRef name = getSectionName();
if (name.find_first_not_of("0123456789_."
"abcdefghijklmnopqrstuvwxyz"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ") == name.npos) {
OS << "\t.section\t" << name;
} else {
OS << "\t.section\t\"";
As section "name&...
2013 Apr 19
0
[LLVMdev] funny llvm bug
...his is a feature (or bug) of MCSectionELF::PrintSwitchToSection. For
> ELF target this function tries to escape string if it founds
> 'suspicious' character, see implementation in MCSectionELF.cpp:
>
> StringRef name = getSectionName();
> if (name.find_first_not_of("0123456789_."
> "abcdefghijklmnopqrstuvwxyz"
> "ABCDEFGHIJKLMNOPQRSTUVWXYZ") == name.npos) {
> OS << "\t.section\t" << name;
> } else {
> OS << "\t.section\t\""...
2013 Apr 19
3
[LLVMdev] funny llvm bug
I'm going to file this bug but it's kind of a blocker for me so maybe
someone has time
to look at it. Should be nearly trivial 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
2013 Apr 19
0
[LLVMdev] funny llvm bug
On Thu, Apr 18, 2013 at 06:57:29PM -0700, reed kotler wrote:
> I'm going to file this bug but it's kind of a blocker for me so
> maybe someone has time
> to look at it. Should be nearly trivial to fix.
I don't think this is a bug, but a misfeature in GCC due to the way it
does (non-)escaping.
Joerg