<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 --- - r187827 caused 1.5% size regression under AddressSanitizer"
href="http://llvm.org/bugs/show_bug.cgi?id=17976">17976</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>r187827 caused 1.5% size regression under AddressSanitizer
</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>Miscellaneous Instrumentation passes
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>glider@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>isanbard@gmail.com, kcc@google.com, llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>r187827, which changed the linkage of ASan-generated globals from 'private' to
'internal', has also caused a 1.5% size regression because those globals end up
in the symbol table:
% cat a.cc
int x, y, z;
int main() { }
% clang -fsanitize=address a.cc && nm a.out | grep asan_gen
000000000046f178 r __asan_gen_
000000000046724b r __asan_gen_1
000000000046d48a r __asan_gen_2
000000000046f17d r __asan_gen_3
According to Kostya, "for chrome's content_shell the size increase is 1.5%
(6Mb), which is huge."</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>