https://bugs.llvm.org/show_bug.cgi?id=51207
Bug ID: 51207
Summary: Cannot mark llvmbc section as SHF_EXCLUDE
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
After
https://github.com/llvm/llvm-project/commit/82d0749749fafb0303414131dc570781376fdcfb
this IR
module asm ".section .llvmbc,\22e\22"
@rustc.embedded.module = private constant [3 x i8] c"ABC", section ".llvmbc"
when run through llc results in an "Unknown section kind" assertion failure.
rustc emits this IR here, which has a comment explaining why it does so:
https://github.com/rust-lang/rust/blob/bddb59cf07efcf6e606f16b87f85e3ecd2c1ca69/compiler/rustc_codegen_llvm/src/back/write.rs#L970-L1017
I'm not sure where the bug is here -- what rustc is doing certainly looks
fishy, but I'm not sure what it is supposed to be doing instead. Any advice?
--
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