Adding support for section names withspecial characters in them (e.g. "/") .
GCC successfully compiles such section names.
This also fixes PR24520.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/MC/MCParser/ELFAsmParser.cpp | ||
---|---|---|
235–249 ↗ | (On Diff #43331) | GNU as's behavior seems to be the following: the section name is either exactly one quoted string OR it is anything other than a newline,tab,comma or semicolon. |
test/MC/ELF/section.s | ||
---|---|---|
16 ↗ | (On Diff #50959) | Missing check for ~!@$%^&*()_-+={[}]|\\:<> |