https://llvm.org/bugs/show_bug.cgi?id=24520
Bug ID: 24520
Summary: Section names containing forward slash are rejected
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: MC
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
This is accepted by gcc, but rejected by clang:
void foo() {
asm volatile(
".section bar/buzz\n"
);
}
I'm not sure whether this is a bug on our side or in gcc. The gas documentation
explicitly says which characters can appear in a symbol names (and slashes are
not on the list), but it's not clear whether this applies to section names.
This isn't a purely theoretical concern, since SeaBIOS actually uses __FILE__
when constructing section names.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs