similar to: [LLVMdev] Fw: Forcing the Interpreter segfaults

Displaying 20 results from an estimated 300 matches similar to: "[LLVMdev] Fw: Forcing the Interpreter segfaults"

2010 Nov 03
0
[LLVMdev] Fw: Forcing the Interpreter segfaults
Hi Salomon, please don't forget to reply to the list too (I've CC'd the list). > I don't think my code is doing anything worng... No, it looks fine to me, and the interpreter certainly supports this. That suggests that the value of %str is not being transmitted to the function right. If it is getting the wrong pointer value, that would explain why it barfs. Ciao, Duncan.
2010 Nov 02
1
[LLVMdev] Forcing the Interpreter segfaults
Hi everyone ! I am very new to LLVM and intent to use it in a research project. I have a problem with the interpreter: I have a simple compiler that generates LLVM bitcode, JIT it and execute it, and it works very well. Now I would like to execute it using the interpreter. And I get a segfault. Here is the code : // This code JIT the function and executes it llvm::InitializeNativeTarget();
2010 Nov 02
2
[LLVMdev] Forcing the Interpreter segfaults
Helps to send to list: On Tue, Nov 2, 2010 at 1:00 PM, OvermindDL1 <overminddl1 at gmail.com> wrote: > On Tue, Nov 2, 2010 at 12:51 PM, Salomon Brys <salomon.brys at gmail.com> wrote: >> Hi everyone ! >> I am very new to LLVM and intent to use it in a research project. >> I have a problem with the interpreter: I have a simple compiler that >> generates LLVM
2010 Nov 02
0
[LLVMdev] Forcing the Interpreter segfaults
In my case, I am working on a posix regular expression library that uses LLVM to execute a regular expression. Each regular expression is a very small sets of code and is faster to interpret than to JIT then execute. I wanted to JIT only when the regular expression is executed more than 20 times. The benchmarks I have run show that my library is amzingly fast to execute a regular expression
2010 Nov 29
3
[LLVMdev] FunctionType as a function argument
Hi all. I would like to declare a function that takes a function pointer as an argument. In C, it would be : void execute(char (*func)(void*), void *param) So, in my compiler, I have : std::vector<const Type *> cbFPtrArgs(1, Type::getInt8PtrTy(C)); FunctionType * cbFPtrTy = FunctionType::get(Type::getInt8Ty(C), cbFPtrArgs, false); Function * func =
2010 Nov 29
0
[LLVMdev] FunctionType as a function argument
You need a pointer-to-function type, but FunctionType just gives you a function type. Use PointerType::getUnqual(FunctionType::get(...)). Or TypeBuilder<char (*func)(void*), false>::get(context) from Support/TypeBuilder.h. On Mon, Nov 29, 2010 at 10:37 AM, Salomon Brys <salomon.brys at gmail.com>wrote: > Hi all. > I would like to declare a function that takes a function pointer
2010 Nov 03
1
[LLVMdev] Forcing the Interpreter segfaults
On Tue, Nov 2, 2010 at 3:36 PM, Salomon Brys <salomon.brys at gmail.com> wrote: > In my case, I am working on a posix regular expression library that uses > LLVM to execute a regular expression. > Each regular expression is a very small sets of code and is faster to > interpret than to JIT then execute. > I wanted to JIT only when the regular expression is executed more than
2004 Oct 07
1
spandsp RxFAX problems.
Hello, Anyone else experiencing problems with the latest spandsp (pre3) and last libtiff beta? I'm getting 8 bytes long file, with the TIFF header only during such connection: -- Accepting call from 'XXXXXXX' to 'YYYYYY' on channel 0/2, span 1 -- Executing SetVar("Zap/2-1", "FAXFILE=/tmp/foch.tif") in new stack -- Executing
2019 Jul 17
2
Help to understand LoadValueFromMemory
Hi all, I'm trying to print to screen the value read by the fread function. I'm at the point where source refers to the GetElementPtrInst ( pointer to the buffer where fread stored the data - %5 in my case ) and the fread() has been already called. I thought the correct approach to achieve what I need was: ExecutionContext& SF = ECStack.back(); GenericValue SRC =
2008 Oct 30
3
[LLVMdev] Problem executing code with lli...
Hi all, I am facing new problem with lli now. I am having a sample code in which I am doing malloc for two variables. If I compile the code with normal gcc the program runs without any warning of any sorts. If I compile the program to convert it into a bytecode file and then run it through lli it segfaults and the program aborts. This is the stack trace after execution. lli((anonymous
2005 Apr 06
3
givenname and email address with smbldap-tools
Hi all, I have setup samba / openldap as describes by the idealx howto and as such I am using the smbldap-tools. However, I would like to add the givenname and email address fields for all users. What is the best way to do this? I would prefer continuing to use the smbldap-tools, but I cannot seem to find a good way to do this. When I try to: $ smbldap-usermod -M testuser@testdomain.net
2004 Oct 13
2
time server directive and synchronizing Win XP clients
Hi all! I have configured a Samba PDC (3.0.7) on a Fedora Core 2 machine with LDAP authentication (conform http://samba.idealx.org/smbldap-howto.en.html). I have about 180 Windows XP Pro clients using this PDC to log onto the domain, which works great! However I seem to have trouble synchronizing the time on the clients to the time on the server. The users (in group Domain Users) do not have
2002 Nov 29
2
Rsync service on Win2k?
Hi all, I'm trying to get rsync running on a Windows 2k box (my tape backup server) to remotely back up stuff from a few unix boxes. Not my favored constellation, but there's not much I can do about that. I'm hoping someone could give me a quick tip or two on getting rsync working as a Win2k service. I'm not real proficient with Win2k, so be gentle. The posts I could find
2001 Apr 12
1
Users connecting from Terminal server to Unix server running samb a
I am using Service Pack 5 on Windows NT Terminal Server 4.0. I understand that there may be an issue with SP5, but I am unable to upgrade immediately. Is there a registry entry on the NT server I can use? I cannot find anything on your web site but will continue looking. Thank You, Rick Pothier Senior Practice Manager FutureLink, INC on behalf of Salomon Smith Barney
2001 Jul 10
2
watch out for quotes in data files
I have just spent a day trying to determine why I seemed to be unable to read a file of microarray expression results into R properly. The file was produced by the Dchip software developed by Li and Wong at Harvard's Department of Biostatistics. It contains rows of tab-delimited fields in the order Probe set identifier Probe set description Array 1 expression Array 1 call Array 2 expression
2013 Apr 16
1
isohybrid and partition type 0x17
Hi, OLPC's Openfirmware (OFW) implementation chokes when attempting to boot an iso created by isohybrid. The problem is that OFW's ISO-9660 support expects a partition type of 0x96 (CHRP ISO-9660, according to http://en.wikipedia.org/wiki/Partition_type). I see from
2004 Oct 13
1
what exactly does outlook-idle workaround?
Hi, Can anyone tell me what the 'client_workarounds = outlook-idle' directive exactly does? I have enabled it in my /etc/dovecot.conf, but the problem that I think it should solve still exsits. That is that after being IDLE for more than half an hour Dovecot will disconnect Outlook but Outlook never connects back. Therefore users receive new mail, but they don't get notified unless
2004 Oct 22
1
index files
Hi Timo, I am sorry to bug you about this, but I am a bit confused and I have approx 200 users so I don't want to screw this up. I am using the latest FC2 Dovecot RPM: dovecot-0.99.10.5-0.FC2. I am using NFS to mount the /home dirs on the fileserver from the mailserver with mbox. In the docs you said that I should probably use :INDEX=MEMORY. However I think this really pushes the server to
2005 Oct 04
2
cross subnet browsing over IPSec
Hi all! This is a repost to this list, hoping to draw some extra attention because I got NO reply whatsoever to the original posting :( I would really appreciate if someone could comment om which of both strategies as described below is best. I am having some trouble with a samba domain distributed over 2 subnets (192.168.0.0/23 (supernetted) & 192.168.4.0/24). These subnets are
1997 Sep 11
13
Problem with Samba
Hi, I'm running (well trying really) samba on redhat 4.2. It installed automatically when I installed redhat, and everything appears to be running that needs to be on my linux machine. I am able to use samba locally (from my linux machine to my linux machine) but when I try to connect via my win95 machine, it doesn't find my linux box on the network. when I click on entire network, It