similar to: [LLVMdev] dumping IR

Displaying 20 results from an estimated 12000 matches similar to: "[LLVMdev] dumping IR"

2009 May 19
2
[LLVMdev] how to get a deterministic execution
Hello, For debugging purposes, I've added a unique id member to the Value class: global_next_vuid = 0; Value::Value(..){ vuid = ++global_next_vuid; } My hope is that by looking at the vuid of a Value, I can see its vuid, set a conditional breakpoint and re-run the compiler to see who (what pass) constructed that value. Maybe I am not doing it the right way, but the above 'vuid'
2009 May 19
1
[LLVMdev] how to get a deterministic execution
The generated code is deterministic, but the global order the instructions were generated seems it is not (although the result is guaranteed to be the same). Now I think the order functions are processed might not be guaranteed. I've attached a test case, and here is what I get: ............................... (303)$ ~/bin/llvm/bin/gcc -O3 -emit-llvm try_calls_basic.2.c -c -o
2010 Apr 09
1
[LLVMdev] offset of extra function argument
Hi, I am instrumenting certain calls, and want to add an extra argument. Say original: foo(int x, int y) changed into modified: foo(int x, int y, int EXTRA) This is in opt, before lowering. Given the list of original arguments, is it possible to tell the stack offset of the EXTRA argument? Thank you, Dan _________________________________________________________________
2009 May 20
2
[LLVMdev] jump to function
Hello, Is it possible to jump from one function to the beginning of another function? For instance, assume wrapper_FOO is a wrapper for FOO. I replace the code .............................. bar() { FOO(...) } .............................. with .............................. bar() { wrapper_FOO(...) } .............................. Now, for efficiency, I'd like to have wrapper_FOO() {
2010 Apr 28
1
[LLVMdev] machine pass
Hi, LLVM documentation is not clear. Is it possible to write a machine pass? I am trying to insert some machine code before the return instruction. ideally, I'd like a pass that runs the last one before generating assembly. How can this be done? Thank you, Dan _________________________________________________________________ Hotmail has tools for the New Busy. Search, chat and
2009 Oct 22
1
[LLVMdev] need to access static functions as extern
Hello, I write some instrumentation which needs to call static function from other files. Is there a way to associate a global name/alias to a static function? I need to turn the assembly code .align 16 .type some_static.2467, at function some_static.2467: CODE into .align 16 .type some_static.2467, at function some_static.2467: .align 16
2009 Oct 28
2
[LLVMdev] converting large projects to LLVM
Hi, I wrote an interprocedural instrumentation pass that needs to run on all program at once. However, when I try to test it on large programs (say bzip2 or gcc) I find that the way LLVM tools do not easilly replace the default ones used in makefiles. So building large projects is not straightforward. Is there a simple way to do this conversion? Thank you, Dan
2009 May 19
0
[LLVMdev] how to get a deterministic execution
On Mon, May 18, 2009 at 8:33 PM, dan mihai <dnmh68 at hotmail.com> wrote: > Hello, > Yo! > For debugging purposes, I've added a unique id member to the Value class: > > global_next_vuid = 0; > Value::Value(..){ >   vuid = ++global_next_vuid; > } > > My hope is that by looking at the vuid of a Value, I can see its vuid, > set a conditional breakpoint and
2009 May 06
3
NTFS Attributes
Hi There, Debian squeeze, samba 3.3.3-1 I am currently trying to use a samba partition to backup windows machines to, and am always warned that the destination does not support NTFS attributes, hidden attributes and system attributes. Are there any config options to enable these in samba? or does samba not support mapping these to something on the linux side? Any help or links to documentation
2010 Apr 14
3
[LLVMdev] indirect jumps
Hi, What kind of C/C++ high level code can generate a computed jump, such as: jmpq *%r14 or jmpq *(%r14,%rbx,8) ? I imagine that any calls (including virtual) would use something like 'call *%r14', and the above jumps are mostly from 'switch' statements. Is this correct? Anything else? Thank you, Dan
2009 Oct 02
1
[LLVMdev] alias analysis and functions
Hi, I am trying to use alias analysis (Anderson) and noticed that for pointers to functions I don't get the expected result: a pointer that clearly may point to a function is reported as NoAlias. I use -anders-aa -aa-eval -print-no-aliases -print-may-aliases -print-must-aliases Here is a test case: ///////////////try_calls_aliases.c #include <stdio.h> typedef int (*PF)(); PF
2008 Mar 11
3
need * consultant in houston area
pls kindly respond to this email thx ! _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
2009 Sep 30
2
Change directory to implement same programes
HI, R-Users, I have one problem: I have written the the programs which process all file in one directory: for example: setwd("C:/Documents and Settings/lma/My Documents/Vappu-saved/Log") as the start. .......... But I have many folders like "Vappu-saved" and there are a lot of files in each directory. What I want is using the same program what I write for the above
2009 Oct 09
3
Chanspy
How can i activate "ChanSpy" to spy on a dedicated extension? I see the following in "/etc/asterisk/extensions_additional.conf" [chanspy] include => chanspy-custom exten => 501**,1,Chanspy(801) exten => 501**,n,Hangup exten => 502**,1,Chanspy(802) exten => 502**,n,Hangup But when i try to call "501**", it doesn't give any response. Thanks.
2009 Feb 13
1
linksys PAP2t and asterisk
Hi all: when i make a call from linksys pap2t to an asterisk server a fake ring is heard some times ,but when sending calls between 2 asterisk servers through sip no fake ring is heard but real one. any suggestions please. _________________________________________________________________ Windows Live?: E-mail. Chat. Share. Get more ways to connect.
2008 Oct 08
2
default menu option using vesamenu.c32
Hi, Maybe I am just not looking in the right spot but I can't figure out how to set a default menu in my isolinux.cfg. This is what it looks like: PROMPT 0 TIMEOUT 40 DEFAULT /boot/vesamenu.c32 LABEL cubez MENU LABEL Graphics mode (Compiz) - Experimental KERNEL /boot/vmlinuz APPEND vga=0x317 initrd=/boot/initrd.gz ramdisk_size=9999 root=/dev/ram0 rw chexpand=256 load=cubez
2009 Mar 22
1
Looking for Prepaid Solution
All; I am looking for a solution a motel that is switching to VoIP. They are especially interested in prepaid services. That is, a resident will come to the office and pre-pay for phone services for their room. When the money runs out, service is shut off, and they need to come down to the office again. Accurate reports are very important. A search on voip-info.org shows several solutions out
2009 Aug 14
2
no ring tone
how do i troubleshoot no ring tone. It was working and all i added was the lines below now it doesn't ring. Edit sip_nat.conf for proper NAT: localnet=192.168.1.0/255.255.255.0 externhost=pbx.DOMAIN.com (Set your external hostname name here) externrefresh=10 fromdomain=DOMAIN.com (Set your external domain name here) nat=yes qualify=yes canreinvite=no Add extra codecs to
2009 Oct 29
1
Booting Error for /dev/kmem
Suddenly i found an error while booting, it says: Fuck: can't open /dev/kmem for read/write (2) So this is why, the Asterisk and Zaptel can not start. Any Suggestions Please Thanks a lot Torintino _________________________________________________________________ Windows Live: Make it easier for your friends to see what you?re up to on Facebook.
2009 Nov 05
2
7777 & *65
I found "7777" and "*65" are not working. Please how can i re-enable them again. Thanks _________________________________________________________________ Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.