<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 --- - Erroneous code emission on OSX when jump across sections."
href="https://llvm.org/bugs/show_bug.cgi?id=26670">26670</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Erroneous code emission on OSX when jump across sections.
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: X86
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>deadalnix@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>So I've been trying to do some cold code splitting by emitting cold BB in their
own section. llc asm output goes as follow :
<a href="http://reviews.llvm.org/P1806">http://reviews.llvm.org/P1806</a>
Note that some basic bloc is emitted in its own section.
This specific example works on linux, but it doesn't on OSX.
Object file emitted on linux: <a href="http://reviews.llvm.org/P1811">http://reviews.llvm.org/P1811</a>
Object file emitted on OSX: <a href="http://reviews.llvm.org/P1813">http://reviews.llvm.org/P1813</a>
Executable dump on OSX: <a href="http://reviews.llvm.org/P1812">http://reviews.llvm.org/P1812</a>
It looks like there is a bug in something low level on the OSX side.</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>