<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 - Implement `__mh_*_header` synthetic symbols"
href="https://bugs.llvm.org/show_bug.cgi?id=49290">49290</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Implement `__mh_*_header` synthetic symbols
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>MachO
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jezreel@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>gkm@fb.com, jezreel@gmail.com, llvm-bugs@lists.llvm.org, smeenai@fb.com
</td>
</tr></table>
<p>
<div>
<pre>We currently have one synthetic symbol (DSOHandle) but I'm not very happy with
how it's implemented -- it has all the semantics of Defined symbol, except that
it doesn't belong to an InputSection. Having it as a separate case means it's
easy to forget to handle it. I've been thinking of having Defined symbols
contain a SectionPointerUnion instead of an InputSection field, which should be
all that's needed to model these synthetic symbols. The one thing I'm concerned
about is the performance implications; I think it will be fine, but it would be
good to run some benchmarks, e.g. by linking a large project like LLVM or
Chromium.</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>