Displaying 3 results from an estimated 3 matches for "pbname".
Did you mean:
dbname
2013 Jun 04
1
[PATCH] add restricted mode to sftp-server
Hello.
These patches add a new mode of operation for the sftp server.
It is located between the ordinary, unrestricted mode and read-only mode.
It allows you to add files to the server, but only if these files do
not exist on the server before.
Changes to existing files - are prohibited.
Please review them, maybe these patches will be useful not only to me.
Thank you.
-------------- next part
2011 May 20
3
[LLVMdev] convert a char * to a value
...:
void branchPredict(char *b1, char *b2){
---
--
}
i'm supposed to add this method, in an IR basic bloc:
to add it into a basic bloc i do:
//i: is the basic bloc
std::vector<Value*> void_43_params;
Constant* tbname = ConstantArray::get(M.getContext(),i->getNameStr() ,
true);
Constant* pbname = ConstantArray::get(M.getContext(),
i->getPrevNode()->getNameStr(), true);
void_43_params.push_back(tbname);
void_43_params.push_back(pbname);
CallInst* void_43 = CallInst::Create(func_branchPredict,
void_43_params.begin(), void_43_params.end(), "", i->getTerminator());
when i...
2011 May 20
0
[LLVMdev] convert a char * to a value
...gt; void branchPredict(char *b1, char *b2){
> ---
> --
> }
> i'm supposed to add this method, in an IR basic bloc:
> to add it into a basic bloc i do:
The problem is that you are passing arrays to the function instead of
passing pointers to arrays. Instead of making tbname and pbname
arguments to the function, you need to create GlobalVariable's that
have, as their initializer, the Constant's tbname and pbname.
You may also have to take the GlobalVariables and insert a cast
instruction (bitcast) to cast them from pointers to arrays to pointers
of i8. However, that...