https://llvm.org/bugs/show_bug.cgi?id=25902
Bug ID: 25902 Summary: Cross-DSO control flow integrity doesn't work for 32 target on 64-bit host Product: new-bugs Version: trunk Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: hjl.to...@gmail.com CC: eugeni.stepa...@gmail.com, llvm-bugs@lists.llvm.org Classification: Unclassified [hjl@gnu-mic-2 llvm-clang]$ /export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang -m32 --driver-mode=g++ -fuse-ld=gold -flto -fsanitize=cfi -fsanitize-cfi-cross-dso -DSHARED_LIB /export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/icall/icall-from-dso.cpp -fPIC -shared -o /export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/icall/Output/icall-from-dso.cpp.tmp-so.so ld.gold: /export/gnu/import/git/llvm/lib/IR/Constants.cpp:1643: static llvm::Constant* llvm::ConstantExpr::getTrunc(llvm::Constant*, llvm::Type*, bool): Assertion `C->getType()->getScalarSizeInBits() > Ty->getScalarSizeInBits()&& "SrcTy must be larger than DestTy for Trunc!"' failed. clang-3.8: error: unable to execute command: Aborted (core dumped) clang-3.8: error: linker command failed due to signal (use -v to see invocation) [hjl@gnu-mic-2 llvm-clang]$ -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs