<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 --- - Debugging info being generated for unused typedefs"
href="http://llvm.org/bugs/show_bug.cgi?id=21299">21299</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Debugging info being generated for unused typedefs
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</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>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sunil_srivastava@playstation.sony.com
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Following small example generates debug info for _Longlong. It should not.
Added over hundreds of such cases from system include files, this can add
significant bulk to the debug info.
This is a 3.4 to 3.5 regression. Current TOT also generates it.
typedef long long _Longlong;
namespace std { using ::_Longlong; }
void foo() {}
+ clang35/bin/clang++ -g -S -O2 -I. -o x-35.s x.cpp
+ clang34/bin/clang++ -g -S -O2 -I. -o x-34.s x.cpp
+ wc x-34.s x-35.s
166 547 6194 x-34.s
231 830 9456 x-35.s
397 1377 15650 total
+ grep _Long x-34.s x-35.s
x-35.s: .asciz "_Longlong"
x-35.s: .asciz "_Longlong" # External Name
Interestingly, gcc4.8 also generates _Longlong, but I consider that a gcc bug.
Clang 3.4 did not generate _Longlong; that was correct.</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>