similar to: [LLVMdev] How to replace a function using llvm?

Displaying 20 results from an estimated 7000 matches similar to: "[LLVMdev] How to replace a function using llvm?"

2011 Sep 16
2
[LLVMdev] How to duplicate a function?
Hi all, Sorry for the inconvenient about the previous post. The files were not attached. So I put them here again. I am a newbie in LLVM and I am trying to replace the function like: old function || new function ============================== ========= int haha(int a) { int haha(int a, char* ID) { ===> }
2011 Sep 21
1
[LLVMdev] Segmentation fault while adding an addtional argument
Hi, all I am trying to write a function pass to replace a old function to a new function like: int haha(int a) { } ==> int haha(int a, char *IO) { } The below is a part of my code and generate segmentation fault. Can you help me to fix it? Thanks, Shawn // Since we have now created the new function, splice the body of the old // function right into the new function, leaving the
2011 Feb 09
2
file serving error
hello again list!! I am attempting to work out how to serve files with puppet. Here is my fileserver.conf file # This file consists of arbitrarily named sections/modules # defining where files are served from and to whom # Define a section ''files'' # Adapt the allow/deny settings to your needs. Order # for allow/deny does not matter, allow always takes precedence # over
2008 Sep 12
1
write.dcf does not quote as Debian would like it to (PR#12816)
Full_Name: charles blundell Version: 2.7.0 OS: Debian GNU/Linux Submission from: (NULL) (217.37.73.202) The Debian Policy Manual says concerning lines in a Description field: * Those containing a space, a full stop and some more characters. These are for future expansion. Do not use them. (section 5.6.13, http://www.debian.org/doc/debian-policy/ch-controlfields.html) But for example: >
2010 Jun 03
1
problem with 'svyby' function from SURVEY package
Hello, I'm using a complex survey dataset and my goal is to simply spit out a bunch of probability-weighted outcome variable means for the different levels of covariate. So I first define the structure of the study design (I'm using the CDC's NHANES data): dhanes <- svydesign(id=~PSU, strat=~STRATA, weight=~lab_weight, data=final, nest=TRUE) No problem there. Now I use the
2006 Jun 16
1
Odd behavior
I''m getting a lot of odd behavior with RedCloth. Perhaps I''ve configured something wrong. Here''s one example... h1. header line # one # two lala haha ------------ Returns the following--------------- <h1>header line <ol> <li>one</li> <li>two<br />lala haha</li> </ol></h1> Any ideas about what this might be?
2011 Sep 16
0
[LLVMdev] How to duplicate a function?
Hi all, I am a newbie in LLVM and I am trying to replace the function like: old function || new function ======================================= int haha(int a) { int haha(int a, char* ID) { ===> } } Of course in the newly replaced function "int haha(int,
2017 Nov 06
2
returns_twice / noreturn
> We do not implement that restricted semantics correctly either -- see > https://bugs.llvm.org/show_bug.cgi?id=27190 Haha, I wondered for a minute whether I should bring up that bug... We've seen pretty nasty crashes due to it and had to work around it..... One of my recent work has also uncovered another (I believe) invalid handling of returns_twice functions....
2024 May 16
2
R for the US Air Force
Hello, The US Air Force used to have R available on our main network, but now those who need to accept it back are being very particular about what they're accepting in terms of official documentation. Would you be able to help me with this endeavor? I'm attaching a pdf that shows what documentation they'd require for us to re-establish R as being acceptable on the network
2018 Sep 08
2
[PATCH] drm/nouveau/secboot/acr: fix memory leak
On 8/2/18 12:51 PM, Gustavo A. R. Silva wrote: > Hi all, > > Friendly ping! Who can take this? > > Thanks > -- > Gustavo > > On 07/24/2018 08:27 AM, Gustavo A. R. Silva wrote: >> In case memory resources for *bl_desc* were allocated, release >> them before return. >> >> Addresses-Coverity-ID: 1472021 ("Resource leak") >> Fixes:
2011 Aug 01
2
Errors, driving me nuts
Greetings all, I am getting this error that is driving me nuts... (not a long trip, haha) I have a set of files and in these files I want to calculate ttests on rows 'compareA' and 'compareB' (these will change over time there I want a variable here). Also these files are in many different directories so I want a way filter out the junk... Anyway I don't believe that this is
2008 May 08
2
[LLVMdev] StructRetPromotion and linkage
Hi all, I was looking at the StructRetPromotion pass this morning and noticed it doesn't look at a function's linkage at all. Since it changes the signature of the function, I would say it should only change internal functions, like ArgumentPromotion does for example. Is there some implicit check I'm missing, or should an explicit check really be added? Gr. Matthijs --------------
2013 Feb 19
0
[LLVMdev] [RFC] NoBuiltin Attribute
On 2/19/2013 12:26 PM, Chris Lattner wrote: > > void foo() { > auto fp = printf; > fp("xyz\n"); > } > > With -fno-builtin-printf, we can't optimize the call to printf, even though it only becomes apparent after (trivial) devirtualization. Ha. Good example. What would you expect to happen in this case? --- a.cpp --- (with -fno-builtin-printf) pointer
2003 Jun 24
1
chan_oh323.c Segmentation fault during Openphone/Gnomemeeting connect during module loading...
My apologies if this question has been answered previously. However, I found that it was nearly impossible to search and find since anything can cause a segmentation fault. Problem. When Asterisk is booting up the h323 modules and a client tries to connect before Asterisk/h323 is finished booting, the program seg faults out and doesn't load. I thought about putting this into the inittab,
2017 Sep 25
1
How to build samba-4.6.7 with static linked option?
Hi! everyone! I am a student from China,my name is Aloha Jack! This is the first time I send a message to the mail lists ! Haha! When I get the sources from the website,I configure with this options below: ./configure \ --builtin-libraries=replace,smbtorture,smbpasswd,pdbedit,smbd/smbd,nmbd/nmbd \ --without-ldap \ --without-ads \ --disable-cups \ --disable-iprint \ --bundled-libraries=ALL \
2008 Dec 16
0
Serve N files from a directory that may or may not exist
Hi list, Here''s my files directory in my apache module: files | +-> ted.haha.com bob.haha.com etc.haha.com I have a custom myexists function that returns boolean. I''d like to check for a vhosts directory underneath each of those $fqdn directories, i.e., if myexits("/var/puppet/modules/apache/files/${fqdn}/vhosts") { # serve every file in
2013 Feb 21
1
[PATCH] the ac->ac_allow_chain_relink=0 won't disable group relink
From: "Xiaowei.Hu" <xiaowei.hu at oracle.com> ocfs2_block_group_alloc_discontig() disables chain relink by setting ac->ac_allow_chain_relink = 0 because it grabs clusters from multiple cluster groups. It doesn't keep the credits for all chain relink,but ocfs2_claim_suballoc_bits overrides this in this call trace:
2003 Feb 12
1
((AllowUsers || AllowGroups) && !(AllowUsers && AllowGroups))
Hey everyone, After discussing the AllowGroups I think I've discovered a bug. The system is a solaris 8 system and the problem is that when I use AllowGroups with no AllowUsers args, the proper actions happen. Same with AllowUsers and no AllowGroups. When I try to combine the two, none of the Allow directives seem to take. Is it just me or maybe a bug? -James
2015 Aug 19
2
Perl bindings and MatchSpy
Hey I?m cleaning up some code at my work place, and it turns out someone had forked Search::Xapian and added MatchSpy bindings for it for one of our internal projects. I was wondering if I should try to extract this as a patch against the current Search::Xapian code, and submit it, or if that is not wanted/wasted effort? It seems to be against 1.2.4.n of Search::Xapian, but I think I should be
2011 May 12
3
Quick Question: How to run Winetricks?
All right, I've downloaded Wine and Wine Bottler, created an app with my program, put in the confirmation code for -that-, jumped through a few more hoops because Sony apparently now requires a 20-some character code for confirmation as well as the original key, ran it, and got the usual error message: [Image: http://img814.imageshack.us/img814/8784/screenshot20110512at254.png ] Read the