Displaying 2 results from an estimated 2 matches for "llvmrci".
Did you mean:
llvmci
2010 Jun 09
1
[LLVMdev] Segmentation fault 'cause of accessing function arguments
...I
access all arguments of a function in the following way:
Function::arg_iterator PI = fun->arg_begin(), PE = fun->arg_end();
...
I have no trouble with building. However, I am troubled with
"segmentation fault" when I run the pass via:
opt -load ../../build-llvm/Debug/lib/LLVMRCI.dylib -rci < a.out.bc
The error message is attached later.
So, am I wrong with accessing function arguments?
What are the possible causes?
Thanks,
Xiaolong
PS: ERROR MESSAGE
Identify an SCC. The number of function: 1
0 opt 0x0000000100426a32 PrintStackTrace(void*) + 38
1 o...
2010 Jun 09
0
[LLVMdev] Segmentation fault 'cause of accessing function arguments
...I
access all arguments of a function in the following way:
Function::arg_iterator PI = fun->arg_begin(), PE = fun->arg_end();
...
I have no trouble with building. However, I am troubled with
"segmentation fault" when I run the pass via:
opt -load ../../build-llvm/Debug/lib/LLVMRCI.dylib -rci < a.out.bc
The error message is attached later.
So, am I wrong with accessing function arguments?
What are the possible causes?
Thanks,
Xiaolong
PS: ERROR MESSAGE
Identify an SCC. The number of function: 1
0 opt 0x0000000100426a32 PrintStackTrace(void*) + 38
1 o...