Displaying 20 results from an estimated 200 matches similar to: "Help with bitcast instruction"
2019 Mar 12
3
Help with bitcast instruction
Hi Tim,
I'm still struggling on the instruction:
call void bitcast (void (%struct.png_struct_def.68*, i8*, i8*
(%struct.png_struct_def.68*, i64)*, void (%struct.png_struct_def.68*,
i8*)*)* @png_set_mem_fn to void (%struct.png_struct_def*, i8*, i8*
(%struct.png_struct_def*, i64)*, void (%struct.png_struct_def*,
i8*)*)*)(%struct.png_struct_def* %create_struct, i8* %mem_ptr, i8*
2019 Apr 27
2
Understand the meaning of preds = %0
Hi all,
I have seen in multiple cases that, usually at the beginning of the
function. if a BranchInst is encountered the next block might have %0
indicated as predecessor. I think it is a way to say "no predecessors
found". Am I correct?
Few examples just for clarifying what I mean:
define noalias %struct.png_struct_def* @png_create_read_struct_2(i8*
%user_png_ver, i8* %error_ptr, void
2019 Mar 16
2
Why getNumOperands() incorrectly returns 0?
Hi all,
I have encountered a weird case that I cannot understand. Inside the
visitStoreInst I have a reference (F) to the function png_set_mem_fn. If I
do F->dump() i can set the IR of that function correctly e.g.:
; Function Attrs: nounwind uwtable
define void @png_set_mem_fn(%struct.png_struct_def.68* noalias %png_ptr,
i8* %mem_ptr, i8* (%struct.png_struct_def.68*, i64)* %malloc_fn, void
2019 Dec 18
2
Missing code depending on a #ifdef within the .ll file
Hi all,
I have managed to compile libpng using wllvm and obtain the IR of pngpixel
( small tool which is part of libpng ).
libpng has a function called png_check_IHDR:
void /* PRIVATE */
png_check_IHDR(png_const_structrp png_ptr,
png_uint_32 width, png_uint_32 height, int bit_depth,
int color_type, int interlace_type, int compression_type,
int filter_type)
{
int error = 0;
/*
2019 Dec 18
2
Missing code depending on a #ifdef within the .ll file
Hi David,
My question is: why both #ifdef and #else branches are missing? I think at
least one of the two should be present... In fact there is a case where the
width could be greater then
PNG_USER_WIDTH_MAX but not greater then PNG_UINT_31_MAX. That's why I was
expecting at least one of the two...
Thanks
Alberto
On Wed, Dec 18, 2019, 22:12 David Blaikie <dblaikie at gmail.com>
2005 Mar 07
0
gcc4 warnings
Below is a patch to get rid of several warnings which occur while
building syslinux 3.07 with the current gcc 4 snapshot. This fixes all
the warnings except one unused variable.
Take them or leave them as you see fit. They're all com32 stuff that's
pulled in from external sources.
--- syslinux-3.07/memdisk/unzip.c.gcc4 2004-12-07 23:29:22.000000000 -0500
+++
2006 Feb 09
1
make: Target `all' not remade because of errors. (PR#8585)
Full_Name: Je Cade
Version: R-2.2.1
OS: RedHat 9
Submission from: (NULL) (129.49.108.173)
I followed the instructions. tar -xvf, configure, then make.
I get these error messages at the end of make and with make check.
==================================================================
==================================================================
In file included from rbitmap.c:45:
2020 Jan 03
3
Interpreter crash due to an "Unknown constant pointer type!"
David,
sorry for this email but I noticed I made a mistake in the previous one. So
I managed to compile llvm Debug with asserts release. I have used the
following commands:
cmake -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_RTTI=ON
-DLLVM_ENABLE_FFI=ON -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_ASSERTIONS=ON ..
cmake --build . -- -j8 && sudo cmake --build . --target install
Once lli was
2020 Feb 10
2
Interpreter crash due to an "Unknown constant pointer type!"
>
> Hey Lang - does any of this look familiar to you?
I'm afraid not: I know nothing about the interpreter. As far as I'm aware
it's essentially abandonware.
Alberto: The usual recommendation in these circumstances is to use a JIT
class instead of the interpreter. You're using -force-interpreter though,
so I assume you really want to use the interpreter for your use case?
2019 Dec 19
2
Interpreter crash due to an "Unknown constant pointer type!"
Hi David,
Thanks for the suggestions. I can definitely provide the example bc file
and image ( please see the attachments ). For the debug + asserts I need a
bit of more time.
Anyway the full output of lli is:
lli --force-interpreter examples/pngpixel_crash.bc 0 0 examples/mini.png
png_ptr->width: 1
max_pixel_depth: 24
row_bytes: 28
Unknown constant pointer type!
UNREACHABLE executed at
2019 Dec 24
2
Interpreter crash due to an "Unknown constant pointer type!"
Hi David,
In pretty sure that the crash is due to the instruction I have shared in my
first email. In order to run pngpixel you just need libpng and zlib..
honest I thought that the .bc had Al the necessary. I'm happy to help you
to reproduce it. As a curiosity, why do you think you cannot reproduce it?
Unfortunately I won't be able to modify the interpreter soon.. anyway, I'll
try to
2010 Jun 05
1
rgl installation failure
Hello,
I am trying to install rgl package under R and getting some errors which is
below.
> install.packages("rgl")
Warning in install.packages("rgl") :
argument 'lib' is missing: using '/usr/lib/R/library'
trying URL 'http://cran.csie.ntu.edu.tw/src/contrib/rgl_0.91.tar.gz'
Content type 'application/x-gzip' length 1677498 bytes (1.6 Mb)
2008 Feb 26
11
Is there way to trace memory in the dtrace ?
N_conreq:entry {
self->x=1;
calledaddr=(struct xaddrf *)arg3;
callingaddr=(struct xaddrf *)arg4;
trace(calledaddr->link_id);
tracemem(calledaddr->DTE_MAC.lsap_add, 80);
trace(callingaddr->link_id);
tracemem(callingaddr->DTE_MAC.lsap_add, 80);
}
0 -> N_conreq 255
2006 Feb 09
0
make: Target `all' not remade because of errors.
Hi: I don't know if it is a bug or what?
I followed instructions.
Jean
R version: R-2.2.1
OS: Linux RedHat 9
I followed the instructions. tar -xvf, configure, then make.
I get these error messages at the end of make and with make check.
==================================================================
==================================================================
In file
2020 Feb 01
0
Interpreter crash due to an "Unknown constant pointer type!"
Hi Alberto,
Can you please file a bug for it, with the test case attached (if you
haven't already).
Thanks,
Ehud.
On Sat, 1 Feb 2020 at 11:32 Alberto Barbaro via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi all,
> just a gentle reminder :) Is there any update on this please?
>
> Happy to help in any way I can
>
> Alberto
>
> Il giorno ven 3 gen 2020 alle
2019 Dec 19
2
Interpreter crash due to an "Unknown constant pointer type!"
Hi all,
as usual I'm playing with the Interpreter and unfortunately I hit a crash.
I have narrowed down the problem an the crash happens inside the inflate
function which is part of zlib and specifically at the instruction:
store <2 x %struct.code*> <%struct.code* getelementptr inbounds ([512 x
%struct.code], [512 x %struct.code]* @fixedtables.lenfix.681, i64 0, i64
0), %struct.code*
2019 Aug 12
2
Re: [PATCH libnbd 1/7] api: Add semi-private function for freeing persistent data.
On 8/12/19 11:08 AM, Richard W.M. Jones wrote:
> This adds a C-only semi-private function for freeing various types of
> persistent data passed to libnbd.
>
> There are some similarities with nbd_add_close_callback which we
> removed in commit 7f191b150b52ed50098976309a6af883d245fc56.
> ---
> +=head1 FREE CALLBACKS
> +
> +B<Note:> The API described in this
2004 Feb 17
0
VFS module programmieren
############################# In German :
Hallo,
gibt es da Jemanden der mir den folgenden Text vielleicht ein bischen besser
erkl?ren kann?
Habe dies aus dem Samba Developers Guide.
Warum mach ich das nun?
Ich habe ein Problem:
Ich will das jedes mal wenn ein User versucht einen Ordner in der Freigabe
zu verschieben oder umzubenenner, der nicht leer ist,
eine Fehlermeldung auf dem Client
2019 Aug 13
12
[PATCH 0/6] Implement OClosure.
Patches 1-4 are basically uncontroversial, straightforward refactoring
and IMHO we should just push them. Possibly 1-3 should be squashed
together, but I posted them separately so they are easier to review.
Patches 5 and 6 together implement OClosure. Patch 5 adds the feature
and is simple to understand.
Patch 6 changes the Closure completion callbacks into OClosure, but
because it doesn't
2019 Aug 12
2
Re: [PATCH libnbd 1/7] api: Add semi-private function for freeing persistent data.
On 8/12/19 1:13 PM, Richard W.M. Jones wrote:
> On Mon, Aug 12, 2019 at 11:29:10AM -0500, Eric Blake wrote:
>> On 8/12/19 11:08 AM, Richard W.M. Jones wrote:
>>> + typedef void (*nbd_free_callback) (void *ptr, void *user_data);
>>> + int nbd_add_free_callback (struct nbd_handle *h,
>>> + void *ptr,
>>> +