Displaying 4 results from an estimated 4 matches for "valgrid".
Did you mean:
valgrind
2011 Apr 26
1
[LLVMdev] inserting a fucntion call at the end of basic bloc
...e->setAttributes(func_consume_PAL);
i have tried to modify the method consume so that it is
void consume(int*)
and chaged the declaration also
and it works
now when i have modified the method consume like this void consume(int)
and modified the declaration
it doesn't work
I don't know valgrid:(
Sorry I always forget to clic the reply all :)
Ciao, Duncan.
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110426/33362af6/attachment.html>
2013 Mar 01
1
predict.loess() segfaults for large n?
...roduces the warning about large range. (In the
code that segfaults N is about 77,000).
set.seed(1)
n = 5000 # n=4000 seems ok
x = rnorm(n)
y = x + rnorm(n)
yf = loess(y~x, span=0.75, control=loess.control(trace.hat="approximate"))
print( predict(yf, data.frame(x=1), se=TRUE) )
##---valgrid output with segfault (abridged):
> test4()
==30841== Warning: set address range perms: large range [0x3962a040,
0x5fb42608) (defined)
==30841== Warning: set address range perms: large range [0x5fb43040,
0xf8c8e130) (defined)
==30841== Invalid write of size 4
==30841== at 0xCD719F0: ehg139_ (...
2011 Apr 26
0
[LLVMdev] inserting a fucntion call at the end of basic bloc
Hi Nabila,
> where did the "noalias" attribute and "tail call" (rather than "call") come
> from? Are you setting these yourself or running some optimization pass after
> your pass?
>
>
> i have written a module pass and i have compiled it and then
you didn't answer my questions, you just repeated what you said before.
Ciao,
2011 Apr 26
2
[LLVMdev] inserting a fucntion call at the end of basic bloc
2011/4/26 Duncan Sands <baldrick at free.fr>
> Hi Nabila,
>
> Now when i tried this pass an error says:
>> Wrong type for attribute noalias
>> tail call void @consume(i32 noalias 3, i32* @y) nounwind
>>
>>
>> noalias is only for arguments of pointer type. You probably meant it
>> to
>> be on the second argument