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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs