<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 - WinDbg claims that our PDB does not have private symbols:"
href="https://bugs.llvm.org/show_bug.cgi?id=34054">34054</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>WinDbg claims that our PDB does not have private symbols:
</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>Windows NT
</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>DebugInfo
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>zturner@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>compnerd@compnerd.org, llvm-bugs@lists.llvm.org, rnk@google.com, zturner@google.com
</td>
</tr></table>
<p>
<div>
<pre>void *__purecall = 0;
struct HelloPoint {
int X = 3;
int Y = 4;
int Z = 5;
};
int main(int argc, char **argv) {
HelloPoint P;
return P.X + P.Y + P.Z;
}
compile and link as:
<span class="quote">> clang-cl /c /Z7 hello.cpp /GS- /Fohello-clang.obj
> lld-link /debug /pdb:hello-clang.pdb /nodefaultlib /entry:main /out:hello-clang.exe hello-clang.obj</span >
Open under WinDbg and type ".reload /f" followed by "lm". It claims that our
PDB is loaded with (PDB symbols), but it should say (private pdb symbols).
This may be the same as <a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot view local variables in WinDbg with LLD generated PDB"
href="show_bug.cgi?id=34049">Bug #34049</a>, but since the symptoms are entirely
different, it's hard to say.</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>