<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 - Regression: Linker error: Required destructor"
href="https://bugs.llvm.org/show_bug.cgi?id=45343">45343</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Regression: Linker error: Required destructor
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>10.0
</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>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jvapen@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Duplicate of <a class="bz_bug_link
bz_status_NEW "
title="NEW - Regression: Linker error: Required destructor"
href="show_bug.cgi?id=45342">BUG45342</a> as something went wrong logging it -> internal error of
the bug tracker
// C:\LLVM_9_0_0\bin\clang-cl.exe /c /EHsc /std:c++17 -w t.cpp /Fot_09.obj
// C:\LLVM_10_0_0\bin\clang-cl.exe /c /EHsc /std:c++17 -w t.cpp /Fot_10.obj
// dumpbin.exe /symbols t_09.obj >t_09.symbols
// dumpbin.exe /symbols t_10.obj >t_10.symbols
class I {
public:
virtual ~I() = default;
};
class B : public virtual I {
public:
virtual ~B() = default;
};
class C final : public virtual I, public B {
public:
explicit C();
virtual ~C();
};
void f() {
auto c = new C{};
delete c;
}
Missing symbol when trying to link ~I
Part of t_10.symbols:
020 00000000 UNDEF notype External | ??1I@@UEAA@XZ (public: virtual
__cdecl I::~I(void))
In LLVM 9.0.0 this symbol ain't required to link, in LLVM 10.0.0 it suddently
becomes required.</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>