https://bugs.llvm.org/show_bug.cgi?id=42950
Bug ID: 42950
Summary: __attribute__((section())) string should not be
escaped
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected]
Blocks: 4068
int foo __attribute__((__section__("\".foo\"")));
In Clang produces:
.section "\".foo\"","aw",@progbits
In GCC:
.section ".foo","aw"
This is leading to a bug in Clang built Linux kernels for distros that use BPF
(not eBPF) during boot, causing them to fail to boot.
https://github.com/ClangBuiltLinux/linux/issues/619
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=4068
[Bug 4068] [Meta] Compiling the Linux kernel with clang
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs