<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot mark llvmbc section as SHF_EXCLUDE"
href="https://bugs.llvm.org/show_bug.cgi?id=51207">51207</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cannot mark llvmbc section as SHF_EXCLUDE
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>nikita.ppv@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, i@maskray.me, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>After
<a href="https://github.com/llvm/llvm-project/commit/82d0749749fafb0303414131dc570781376fdcfb">https://github.com/llvm/llvm-project/commit/82d0749749fafb0303414131dc570781376fdcfb</a>
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:
<a href="https://github.com/rust-lang/rust/blob/bddb59cf07efcf6e606f16b87f85e3ecd2c1ca69/compiler/rustc_codegen_llvm/src/back/write.rs#L970-L1017">https://github.com/rust-lang/rust/blob/bddb59cf07efcf6e606f16b87f85e3ecd2c1ca69/compiler/rustc_codegen_llvm/src/back/write.rs#L970-L1017</a>
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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>