similar to: [LLVMdev] llvmbuildmalloc/llvmbuildarraymalloc

Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] llvmbuildmalloc/llvmbuildarraymalloc"

2011 Jul 09
1
[LLVMdev] getting and setting array indices c interface
I really can't figure out how to get and set array indices from the c interface. so to get an element I'm calling tindex = *fn\SymbolTable(*index\name) index = LLVMBuildLoad(builder,tindex,"index") arr = *fn\SymbolTable(*array\name) arrptr = LLVMBuildLoad(Builder,arr,"arrayptr") tmp = LLVMBuildGEP(Builder,arrptr,index,0,"ptr") ptr =
2011 Jul 26
0
[LLVMdev] LLVMdev Digest, Vol 85, Issue 54
Andrew, are you using 2.9 ?, I had trouble with GEP on arrays in 2.8, until I upgraded and then the problem went away. -Peter Lawrence. On Jul 25, 2011, at 6:43 AM, llvmdev-request at cs.uiuc.edu wrote: > ------------------------------ > > Message: 7 > Date: Mon, 25 Jul 2011 13:44:50 +1200 > From: Andrew Ferguson <andrewf at idlearts.com> > Subject:
2011 Jun 18
1
[LLVMdev] loop only executes once
Hello, I'm trying to get to grips with the c interface of llvm intending to eventually develop a front end for Purebasic Though I've hit the wall already writing an iterative Fibonacci function. While I think the module dump looks ok it doesn't work for any input > 2 the function returns 2, the loop only executes once Hopefully someone can see what the problem is from the
2020 Apr 15
2
question on the signature of malloc
Hi all, consider the following function from Core.cpp in LLVM 9.0.0: LLVMValueRef LLVMBuildMalloc(LLVMBuilderRef B, LLVMTypeRef Ty, const char *Name) { Type* ITy = Type::getInt32Ty(unwrap(B)->GetInsertBlock()->getContext()); Constant* AllocSize = ConstantExpr::getSizeOf(unwrap(Ty)); AllocSize = ConstantExpr::getTruncOrBitCast(AllocSize, ITy);
2011 Jul 05
0
[LLVMdev] optimizer returning wrong variable?
Andrew Ferguson wrote: > I'm having some trouble trying to workout how to form functions from > the c interface > I thought I had it sorted but I guess I'm missing something or haven't > understood > the requirements, a case of trial and error and not really having a clue > to start with! > > I've got binary ops, cmps, for loops, while loops working but
2005 Jan 11
0
Re: Asterisk-Users Digest, Vol 6, Issue 144
<P>I am running on Core 3 also with a voicepulse account.</P> <P>I found this document quite helpful....www.voip-info.org/tiki-print.php?page=Asterisk+Fedora+Core+3</P> <P>I did deviate in that I ran my make of Asterisk itself as follows</P> <P>cd /usr/src/asterisk</P> <P>make clean <BR>make linux26 <BR>make install <BR>make
2002 Mar 18
0
SSH and root access from limited hosts
This is blanket access for root from any host with valid keys (and password) - I want to limit that access to 4 hosts no matter what keys or passwords are provided/used. I have looked at shosts.equiv but this doesn't stop other hosts being allowed. I have also looked at "AllowUsers root at host1 root at host2 ..." but this also means including every user we have for all other
2008 Jul 09
5
boot disk failure
Hello, i've got a problem with boot pxe on pc, all my pc works fine except in a room where all the same pc doesnt works : my configuration (dhcp tftp etc...) works fine also here is a part of my tftpboot directory ghost/ memdisk menu.c32 pxelinux.0 pxelinux.cfg/ ./ghost: ghost288.IMA ghost_geii_101.IMA ghost_MM.IMA ghost_MM.IMA.old ./pxelinux.cfg: default here is a part of my default
2010 Jan 11
0
[LLVMdev] Operations on constant array value?
On Mon, Jan 11, 2010 at 7:07 AM, James Williams <junk at giantblob.com> wrote: > Hi, > > I've read http://llvm.org/docs/LangRef.html#t_array and > http://llvm.org/docs/GetElementPtr.html and if I've understood right there > are no operations that act directly on arrays - instead I need to use > getelementptr on a pointer to an array to get a pointer to an array
2005 Feb 19
2
This is NUTS!!SOLVED
Thanks everyone for your feedback, especially Mark. I now have the ALL the files I need. My order still stands for the $8.00 product from CISCO but the CP7960 dealer sent me all the files. Now I will move on to completeing the setup of the TFTP server. Thanks again -----Original Message----- From: Michael Loftis [mailto:mloftis@wgops.com] Sent: Friday, February 18, 2005 7:51 PM To:
2005 Nov 03
2
simple menu limitations
I am using the following simple menu and have noticed that items at the bottom are dropping off. I seem to be limited to 12 items. Is there a limit to how many items can be on the simple menu? default pxelinux.cfg/menu.c32 prompt 0 MENU TITLE UWSP PXE Boot Menu # TIMEOUT 200 LABEL bartpe MENU LABEL Build 12 KERNEL /STARTROM.0 APPEND keeppxe LABEL 11dnet MENU LABEL Build 11DNET beta
2007 Apr 03
0
Release: VMKNOPPIX(20070328) with Trusted Boot
Dear, We released VMKNOPPIX(20070328) with Trusted Boot. http://unit.aist.go.jp/itri/knoppix/vmknoppix/index-en.html VMKnoppix is a collection of Virtual Machine Software, Xen, KVM, VirtualBox, QEMU, KQEMU(QEMU with Accelerator) and UserModeLinux. This version includes "Trusted Boot" (Trusted GRUB and IMA: Integrity Measured Architecture). === Features
2010 Jan 11
2
[LLVMdev] Operations on constant array value?
2010/1/11 Eli Friedman <eli.friedman at gmail.com> > On Mon, Jan 11, 2010 at 7:07 AM, James Williams <junk at giantblob.com> > wrote: > > Hi, > > > > I've read http://llvm.org/docs/LangRef.html#t_array and > > http://llvm.org/docs/GetElementPtr.html and if I've understood right > there > > are no operations that act directly on arrays -
2010 Jan 11
4
[LLVMdev] Operations on constant array value?
Hi, I've read http://llvm.org/docs/LangRef.html#t_array and http://llvm.org/docs/GetElementPtr.html and if I've understood right there are no operations that act directly on arrays - instead I need to use getelementptr on a pointer to an array to get a pointer to an array element. I also understand that there is no 'address of' operation. As a result I can't figure out how to
2005 Aug 27
1
Samba clients can't see partitions mounted via loop device from image files
Is there something special about filesystems mounted via the loop device, which prevents Samba from sharing them? I have a small LAN with several PCs on it. It has a few Windows machines, and a Linux machine running Mandrake 10 (kernel 2.6.3), which shares out its root ("/") read-only as "c". (Temporarily, for testing, it is shared with full write permissions, which I know
2010 Jan 11
0
[LLVMdev] Operations on constant array value?
I have not tried this, but a linkage type of PrivateLinkage would not add to the symbol table according to the doc. LLVMSetLinkage(g, LLVMPrivateLinkage); Garrison On Jan 11, 2010, at 14:03, James Williams wrote: > 2010/1/11 Eli Friedman <eli.friedman at gmail.com> > On Mon, Jan 11, 2010 at 7:07 AM, James Williams <junk at giantblob.com> wrote: > > Hi, > > >
2011 Jul 05
3
[LLVMdev] optimizer returning wrong variable?
I'm having some trouble trying to workout how to form functions from the c interface I thought I had it sorted but I guess I'm missing something or haven't understood the requirements, a case of trial and error and not really having a clue to start with! I've got binary ops, cmps, for loops, while loops working but then it hit the wall with a tail cmp loop. looking at the
2010 Jan 11
0
[LLVMdev] Operations on constant array value?
Does the C API have an equivalent of stack storage? Via the C++ APIs one can shove the string constant on the stack via a store instruction operation on an alloca instruction--the address needed is the alloca. For example: llvm::Value* stringVar = builder.CreateAlloca(stringConstant->getType()); builder.CreateStore(stringConstant, stringVar); The stringVar is your address. Garrison On Jan
2010 May 04
2
Memdisk large IMA file
Does someone know where I could get my hands on an ima that's larger than 2.88meg... I use winimage for all my ima's and stuff but i'm having trouble configuring a custom size. If anyone has a large ima I could utilize that would be great, preferably one fitting this memdisk supported size: 3,932,160 bytes (3840K) c=80 h=2 s=48 3.5" DSED (extended) If not instructions on making
2011 Mar 24
4
Installing IMA (Integrity Measurement Architecture) on CentOS 5.5
I'm trying to install IMA (http://linux-ima.sourceforge.net/) on CentOS 5.5, but the shipped kernel does not support it. One solution is to install a 2.6.30 kernel, but I don't really like this idea. Does anybody has tried to install it? Regards, Andreas