<html>
<head>
<base href="http://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 --- - Documentation for 'llvm.global_dtors' incorrectly says they are run "when the module is loaded""
href="http://llvm.org/bugs/show_bug.cgi?id=19857">19857</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Documentation for 'llvm.global_dtors' incorrectly says they are run "when the module is loaded"
</td>
</tr>
<tr>
<th>Product</th>
<td>Documentation
</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>General docs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>aborenszweig@manas.com.ar
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Here:
<a href="http://llvm.org/docs/LangRef.html#the-llvm-global-dtors-global-variable">http://llvm.org/docs/LangRef.html#the-llvm-global-dtors-global-variable</a>
it says:
"The functions referenced by this array will be called in descending order of
priority (i.e. highest first) when the module is *loaded*."
I think it should say "when the module is *unloaded*".</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>