[llvm-dev] Assertion isUniqued() failure

David Jones via llvm-dev llvm-dev at lists.llvm.org
Tue Jan 12 06:06:53 PST 2016


I'm upgrading my application to use LLVM 3.7.1 instead of 3.5.1.

On one of my regression tests I am getting an assertion:

 /home2/djones/llvm-3.7.1.src/lib/IR/Metadata.cpp:490: void
llvm::MDNode::resolve(): Assertion `isUniqued() && "Expected this to be
uniqued"' failed.

This occurs when finalizing debug info prior to code generation:

#4  0x00007ffff4520455 in llvm::MDNode::resolve() () from
/tools/llvm/3.7.1dbg/lib/libLLVM-3.7.1.so
#5  0x00007ffff4520f16 in llvm::MDNode::resolveCycles() () from
/tools/llvm/3.7.1dbg/lib/libLLVM-3.7.1.so
#6  0x00007ffff4434654 in llvm::DIBuilder::finalize() () from
/tools/llvm/3.7.1dbg/lib/libLLVM-3.7.1.so

I am using DIBuilder to generate all debug metadata. What application
behavior would cause this assertion?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160112/3bf235c5/attachment.html>


More information about the llvm-dev mailing list