https://llvm.org/bugs/show_bug.cgi?id=26068
Bug ID: 26068 Summary: DFSan crashes on invoke with variadic function Product: libraries Version: trunk Hardware: PC OS: All Status: NEW Severity: normal Priority: P Component: Miscellaneous Instrumentation passes Assignee: unassignedb...@nondot.org Reporter: benny....@gmail.com CC: llvm-bugs@lists.llvm.org, pe...@pcc.me.uk Classification: Unclassified $ cat foo.cc void myprintf(...); int main() { try { myprintf(42); } catch (...) { } } $ clang++ -fsanitize=dataflow foo.c clang-3.8: llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp:1417: void (anonymous namespace)::DFSanVisitor::visitCallSite(llvm::CallSite): Assertion `!(cast<FunctionType>( CS.getCalledValue()->getType()->getPointerElementType())->isVarArg() && dyn_cast<InvokeInst>(CS.getInstruction()))' failed. This also happens when building libc++ with dfsan. -- 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