[llvm-bugs] [Bug 30248] New: [ThinLTO] Assertion `(!*MappedOp || M.getVM().count(CMD->getValue()) || M.getVM().getMappedMD(Op)) && "Expected Value to be memoized"' failed.
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Sep 1 17:47:59 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30248
Bug ID: 30248
Summary: [ThinLTO] Assertion `(!*MappedOp ||
M.getVM().count(CMD->getValue()) ||
M.getVM().getMappedMD(Op)) && "Expected Value to be
memoized"' failed.
Product: lld
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedbugs at nondot.org
Reporter: twoh at fb.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 17201
--> https://llvm.org/bugs/attachment.cgi?id=17201&action=edit
source file
repro:
clang++ -g2 -std=c++11 -flto=thin -c -o main.o main.cpp
clang++ -g2 -std=c++11 -flto=thin -c -o dst.o dst.cpp
clang++ -g2 -std=c++11 -flto=thin -c -o src.o src.cpp
clang++ -o /dev/null -B/usr/local/bin/gold -flto=thin main.o dst.o src.o
ld: /data/users/twoh/llvms/svn/llvm/lib/Transforms/Utils/ValueMapper.cpp:525:
llvm::Optional<llvm::Metadata*>
{anonymous}::MDNodeMapper::tryToMapOperand(const llvm::Metadata*): Assertion
`(!*MappedOp || M.getVM().count(CMD->getValue()) || M.getVM().getMappedMD(Op))
&& "Expected Value to be memoized"' failed.
clang-4.0: error: unable to execute command: Aborted (core dumped)
clang-4.0: error: linker command failed due to signal (use -v to see
invocation)
Tested with revision 280435
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160902/eef7515e/attachment-0001.html>
More information about the llvm-bugs
mailing list