Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Module::getOrInsertFunction determinism"
2014 May 29
2
[LLVMdev] Module::getOrInsertFunction determinism
Hi Tim,
Thank you very much for quick response. What happens in my case is that
mixing calls to getOrInsertFunction
with linking another bit code module to the current module seems to be
sometimes producing different outputs.
Difference might be with the ordering of functions in the file (I¹m
looking at LLVM IR representation), with numbers
used for constant variables, numbers used in the ³dbg²
2014 Jun 03
2
[LLVMdev] Module::getOrInsertFunction determinism
Hi Philip,
I would like to ask a follow-up question about code generation.
Do you know if is expected that if we take the same bit code modules and
link them together in the same order (programatically), but on different
machines (assuming the same version of LLVM and
roughly the same OS), the output may differ with respect to order of
function definitions inside module?
Thank you very much in
2014 May 29
2
[LLVMdev] Module::getOrInsertFunction determinism
On 05/29/2014 11:06 AM, Tim Northover wrote:
> Hi Tomek,
>
>> I’ve got a question about Module::getOrInsertFunction().
>> I got an impression that it is not deterministic where exactly in the bit
>> code module the new function will be inserted.
> Looking at the code (not exhaustively), it seems a new function will
> always be added to the end of a module.
>
>
2014 Jun 04
3
[LLVMdev] Module::getOrInsertFunction determinism
Hi Philip,
Thank you very much for your comments.
I think I’ve discovered a root cause. The problem was in linking bit code
archive files with the module.
At some point, std::set<Module*> is used and iterated over. I believe this
was the reason why e.g. It worked consistently with
ASLR turned off and produced non-deterministic output otherwise. I changed
that bit to use vector instead and
2010 Apr 23
2
[LLVMdev] Inserting a varargs function declaration with getOrInsertFunction()?
I need to insert a varargs function declaration from within an LLVM
pass. getOrInsertFunction() allows an arbitrary list of type parameters
for function arguments to be passed in, but as far as I can tell there
is no LLVM "type" to represent the variable-length portion of a function
argument list. How is this normally done?
--Patrick
2013 Apr 16
0
[LLVMdev] Name mangling and getOrInsertFunction
Hello,
I am trying to handle some overloaded functions in the LLVM IR.
I have a number of functions named "task" in the source code, differing in the number of parameters. And there is a call, let's say:
task (a, b).
I get the file.ll equivalent and I want to replace the original call task (a,b) with a call to one of the other functions, task(a,b,c).
The problem is that due to
2014 Aug 31
2
[LLVMdev] Inserting Calls to var args Functions
Hi All,
I am using code similar to giri instrumentation
<https://github.com/liuml07/giri> framework to insert my instrumentation
code. It works for normal functions for example to insert recordInt32
function below.
void recordInt32(int32_t val){
printf("%d, ", val);
}
I can get recodedInt32 function in my Module using getOrInsert Function.
Function* RecordInt32 =
2013 Apr 16
2
[LLVMdev] creating and inserting a function with variable arguments
I am working on a pass in which I need to define and insert a function with
variable arguments. Can I do it with the help of getOrInsertFunction()? If
not can someone tell me any other method?
It will be very helpful if anyone can help. Thanks in advance
--
*Akshay Jain
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2000 Mar 29
2
BAD performance with SAMB on aix
Hello,
I have 8 Samba servers with 300 clients here running on Sun and Linux
machines with GREAT performance. Now in one departement i installed
samba 2.0.6 on one 40K$ IBM F50 with AIX 4.3.2, 2xCPU, 256MB RAM,
100FDX, extern RAID 5 Tower . Performance is really very, very BAD. I
tried already everything, but this IBM box with samba is just very SLOW.
Browsing through directories, logging, copying
2010 Apr 15
3
Please help: Shorewall 4.4.8 captures all traffic as "world" on both loc & net on a bridge firewall
Hello All,
I¹ve installed the vanilla shorewall F12, I¹ve got it installed on a couple
of other servers with no problems. no matter how I define the zones and
interfaces, shorewall logs and allows, rejects or drops only traffic to
world.
ACCEPT:info net:<myip>/32 $FW icmp
Shorewall:world2fw:REJECT:IN=br0
ACCEPT:info world:<myip>/32 $FW icmp
1998 Dec 16
1
Deleting Roaming Profiles
Hello,
If you don?t want (Who wants ?) to save roaming profiles under
Winnt\Profiles, than you have to change, or create (if not exist) a
registry string:
Run regedt32.exe and locate the key entry:
HKEY_LOCAL_MACHINE\Microsoft\Microsoft\Windows
NT\CurrentVersion\Winlogon
Add (or change) the following string:
DeleteRoamingCache
Standard value is 0, it has to be 1
All the Best.
--
2019 Dec 04
3
Dovecot 2.3.8 - How to force index creation for user/mailbox?
Someone who have mailbox in different directory than indexes, can confirm
if doveadm can recreate index (after deleting dovecot.index* files) or
these files can be created only by connecting with IMAP client?
?r., 4 gru 2019 o 15:45 Sami Ketola <sami.ketola at dovecot.fi> napisa?(a):
>
>
> > On 4 Dec 2019, at 11.48, Tomek Lutelmowski via dovecot <
> dovecot at
2018 Mar 17
1
Migration from 3.8 to 6.0 questions (segfault most concerning)
I'm encountering a few problems in my migration that I haven't yet
figured out.
`getOrInsertFunction` is generating a SEGFAULT at
FunctionType::isValidArgumentType(llvm::Type*). I'm calling it as:
generic_ptr_ = llvm::PointerType::get(
llvm::Type::getInt8Ty(context), 0 );
f_natural_int = llvm::IntegerType::get(context, 64);
module->getOrInsertFunction(
2013 Jul 25
1
[LLVMdev] Passing String to an external function in llvm
> OK - seems you might want to take a few steps back & understand how
> C++ code is written/structured generally (and/or take a look at other
> parts of the compiler). You'll need a header file with the declaration
> of your function & you can include that header file in the
> hashtable.cpp and testing.cpp - if that sentence doesn't make sense to
> you yet, please
2019 Dec 03
2
Dovecot 2.3.8 - How to force index creation for user/mailbox?
Neither of dovecot.index files are created (.cache, .log, .thread) - these
files are created when I open the folder with IMAP client. When mailbox is
not used for long time, the indexing takes very long time. So I'm looking
for any solution (preferably with doveadm) to manually reindex folders in
background.
wt., 3 gru 2019 o 20:23 Aki Tuomi <aki.tuomi at open-xchange.com> napisa?(a):
2010 Nov 23
2
[LLVMdev] how to get a void type value in llvm
Hi, I want to insert a function with a void type parameter,
for example: int foo(void);
OI declared
fcall2 = M.getOrInsertFunction("foo",
IntegerType::get(M.getContext(), 32),
Type::getVoidTy(M.getContext()));
then the question is how to get the void type value to make the
CallInst inserted sucessfully? (what should be ********)
CallInst::Create(fcall2, ******,
2005 Aug 29
8
Samba as a domain controller for Linux workstations?
I was wondering, if it's possible to set up Samba as a sort of a domain
controller for Linux workstations?
I'm thinking of benefits like roaming profiles, managing printers etc.
Or perhaps for Linux there are better choices than Samba, when it comes
to the office / school use (many users, many classrooms, many
workstations etc.)?
--
Tomek
http://wpkg.org
2005 Jan 18
4
how to check IP addresses of machines in the network?
Hello,
This post is similar to what I posted yesterday '"smbclient -L host" to
list IP addresses - possible?'.
I have a PDC in one place and many workstations in different other
places connected using WAN/VPN.
These workstations have rather changing IPs assigned by DHCP.
Sometimes I need to connect to these machines using VNC, for example,
connect to machine AC-PC001 to
2002 Apr 22
1
Goodness-of-fit
Hi,
I want to perform goodness of fit test for multinominal distribution. The
easiest way would be to use Chi2, but the measurment errors are not
normally distributed. I thought about using some bootstraping method to
perform the analysis. How can I do it in R?
Tomek
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2005 Feb 08
2
MD5 in SIP's "register => ..."
Hello Everyone!
I just want to make sure if such a mess could work for sip channel:
In sip.conf:
;
register => <some_md5_checksum>@host
;
;
[host]
hostname=some_address
auth=md5
Greets
Tomek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050208/169311c6/attachment.htm