<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 --- - [-cxx-abi microsoft] Assertion `FD->isUsed() && "Sema didn't mark implicit function as used!"' failed"
href="http://llvm.org/bugs/show_bug.cgi?id=17655">17655</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[-cxx-abi microsoft] Assertion `FD->isUsed() && "Sema didn't mark implicit function as used!"' failed
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rnk@google.com
</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>Created <span class=""><a href="attachment.cgi?id=11406" name="attach_11406" title="sema-mark-used.cpp">attachment 11406</a> <a href="attachment.cgi?id=11406&action=edit" title="sema-mark-used.cpp">[details]</a></span>
sema-mark-used.cpp
This is probably distinct from <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Assertion failed: (FD->isUsed() && "Sema didn't mark implicit function as used!"), function GetOrCreateLLVMFunction, file CodeGenModule.cpp, line 925."
href="show_bug.cgi?id=10480">http://llvm.org/bugs/show_bug.cgi?id=10480</a>, but
it trips the same assertion. I bet it has to do with our handling of complete
vs. base dtors in GetAddrOfCXXDestructor with the MS C++ ABI.
clang: ../tools/clang/lib/CodeGen/CodeGenModule.cpp:1392: llvm::Constant
*clang::CodeGen::CodeGenModule::GetOrCreateLLVMFunction(llvm::StringRef,
llvm::Type *, clang::GlobalDecl, bool, llvm::AttributeSet): Assertion
`FD->isUsed() && "Sema didn't mark implicit function as used!"' failed.
clang::CodeGen::CodeGenModule::GetOrCreateLLVMFunction()
clang::CodeGen::CodeGenModule::GetAddrOfCXXDestructor()
clang::CodeGen::CodeGenFunction::EmitCXXDestructorCall()
clang::CodeGen::CodeGenFunction::emitDestroy()
clang::CodeGen::CodeGenFunction::PopCleanupBlock()
clang::CodeGen::CodeGenFunction::PopCleanupBlocks()
clang::CodeGen::CodeGenFunction::FinishFunction()
clang::CodeGen::CodeGenFunction::GenerateThunk()
clang::CodeGen::CodeGenVTables::emitThunk()
clang::CodeGen::CodeGenVTables::CreateVTableInitializer()
clang::CodeGen::CodeGenModule::EmitDeferredVTables()
clang::CodeGen::CodeGenModule::EmitDeferred()
clang::CodeGen::CodeGenModule::Release()
clang::ParseAST()
clang::CodeGenAction::ExecuteAction()
clang::FrontendAction::Execute()
clang::CompilerInstance::ExecuteAction()
clang::ExecuteCompilerInvocation()
cc1_main()</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>