Displaying 6 results from an estimated 6 matches for "printfuncs".
Did you mean:
printfunc
2005 Oct 16
2
[LLVMdev] Help on LLVM Instrumentation
Hi ,
I am using LLVM for my Post Graduate course project on Optimization. I am trying to do some insrtumentation to the bytecode.I 've been going through your Instrumentation code for the past few days in /llvm/lib/Transforms/Instrumentation folder and finally found two ways of instrumentation :
1) injecting LLVM bytecode instructions
2) calling an external C function.
I am trying both and
2012 Sep 05
1
[LLVMdev] Calling a function with a pointer to a global char array as argument
Hello;
Thanks to Eli for the pointer to the ConstantDataArray::getString()
fucntion. Now I am trying to declare a global char array with the content
"hi" and call a function "print" (which takes a char pointer and return an
insteger.
I am doing the following in the code -
Function Creation:
PointerType* array =
PointerType::get(IntegerType::getInt8Ty(getGlobalContext())
2013 Mar 05
0
[LLVMdev] LLVM load instruction query
Ok, so there is a general segfault. You can use a tool for detecting seg
fault, but better try to use the "return false" statement in your pass. I
assume you have your code into runOnFunction or runOnModule. So check with
return false where the program crashes. identify the statement that is
causing the segfault. The most common segfaults in LLVM are due
1. reference a NULL pointer...put
2016 Mar 15
2
Go Bindings and govet
Hi Andrew, Peter,
I took a look at the results of running govet on the go bindings - there
are a lot of small/simple problems that should probably be looked at. Wrong
number of arguments a few times, shifts by > 32, etc.
https://golang.org/cmd/vet/
Thanks!
-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2016 Mar 16
0
Go Bindings and govet
On Wed, 16 Mar 2016 at 05:55 Eric Christopher <echristo at gmail.com> wrote:
> Hi Andrew, Peter,
>
> I took a look at the results of running govet on the go bindings - there
> are a lot of small/simple problems that should probably be looked at. Wrong
> number of arguments a few times, shifts by > 32, etc.
>
Did you just run "go vet
2013 Mar 05
5
[LLVMdev] LLVM load instruction query
HI,
I am creating a pass that will pass loaded value by load instruction to an
external function.
I don't know how to do it.Please Help.