Displaying 2 results from an estimated 2 matches for "libpass06".
Did you mean:
libpass01
2005 Apr 07
0
[LLVMdev] arguments to standard library functions
...printf("function: %s \t No of args: %d\n", fname, i);
return 0;
}
---------------------------------------------------------------------------------
The pass compiles fine but when i try to run it on a simple hello.c
program i get the following error
opt -load ~/work/llvm/Debug/lib/libpass06.so -pass06a <hello.bc > test.bc
opt: Constants.cpp:1431: static llvm::Constant*
llvm::ConstantExpr::getGetElementPtr(llvm::Constant*, const
std::vector<llvm::Constant*, std::allocator<llvm::Constant*> >&):
Assertion `Ty && "GEP indices invalid!"' fail...
2005 Mar 21
3
[LLVMdev] arguments to standard library functions
HI ,
I understand that the standard C library functions are executed using the
native library of the host machine. ( for example when we execute a bytecode
to extract the profile info )
Is it possible to extract for each standard library function that is
executed , the arguments that the function is called with.
For example if printf ("%d", some_int ) when called during runtime