Displaying 3 results from an estimated 3 matches for "print_arrays_for".
2011 Mar 25
1
[LLVMdev] Instrumentation with liblto and gold
...llvm::Instruction, Y = llvm::Value*]: Assertion `isa<X>(Val) && "cast<Ty>()
argument of incompatible type!"' failed.
Stack dump:
0. Running pass 'Function Pass Manager' on module 'ld-temp.o'.
1. Running pass 'Function pass' on function '@print_arrays_for'
Any thoughts?
Thanks,
Sangmin
On Thu, Mar 24, 2011 at 7:26 PM, John Criswell <criswell at illinois.edu>wrote:
> On 3/24/11 6:23 PM, Sangmin Park wrote:
>
>> Hi,
>>
>> I need advice in instrumenting programs using liblto and gold plugin.
>> Specifically,...
2011 Mar 24
0
[LLVMdev] Instrumentation with liblto and gold
On 3/24/11 6:23 PM, Sangmin Park wrote:
> Hi,
>
> I need advice in instrumenting programs using liblto and gold plugin.
> Specifically, I added my pass in tools/lto/LTOCodeGenerator.cpp.
> My pass inserts functions (myLoad and myStore) for some load and store
> instructions.
> The functions exist in a library file.
>
> I found that the approach works for the example in
2011 Mar 24
2
[LLVMdev] Instrumentation with liblto and gold
Hi,
I need advice in instrumenting programs using liblto and gold plugin.
Specifically, I added my pass in tools/lto/LTOCodeGenerator.cpp.
My pass inserts functions (myLoad and myStore) for some load and store
instructions.
The functions exist in a library file.
I found that the approach works for the example in the link:
http://llvm.org/docs/GoldPlugin.html
$ llvm-gcc -flto a.c -c -o a.o
$ ar q