[llvm-commits] [PATCH] Make use of OpenBSD's libc routines for stack protector
Rafael EspĂndola
rafael.espindola at gmail.com
Wed Aug 22 19:19:20 PDT 2012
> "LSSH" is the name that's used as an internal label for the string
> constant.
The test is failing for me:
$ /home/espindola/llvm/build/bin/./llc -mtriple=amd64-unknown-openbsd
< /home/espindola/llvm/llvm/test/CodeGen/X86/stack-protector.ll
.file "<stdin>"
llc: /home/espindola/llvm/llvm/lib/VMCore/Instructions.cpp:275: void
llvm::CallInst::init(llvm::Value *, ArrayRef<llvm::Value *>, const
llvm::Twine &): Assertion `(Args.size() == FTy->getNumParams() ||
(FTy->isVarArg() && Args.size() > FTy->getNumParams())) && "Calling a
function with bad signature!"' failed.
Stack dump:
0. Program arguments: /home/espindola/llvm/build/bin/./llc
-mtriple=amd64-unknown-openbsd
1. Running pass 'Function Pass Manager' on module '<stdin>'.
2. Running pass 'Insert stack protectors' on function '@test'
Aborted (core dumped)
Cheers,
Rafael
More information about the llvm-commits
mailing list