similar to: [LLVMdev] Can Interpreter handle clone() call (with CLONE_VM flag)?

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] Can Interpreter handle clone() call (with CLONE_VM flag)?"

2010 Oct 25
2
[LLVMdev] Is it possible to map an LLVM instruction to x86 assembly instructions?
Dear folks, If I want to setup a mapping between an LLVM instruction and the x86 assembly instructions it generates, is this possible? Or, an equavalent question is, when LLVM is emitting assebmly instructions, will it transform a set of LLVM instructions to a set of assembly instructions, or transform each LLVM instruction to assembly instructions independently? -- Regards, Heming Cui
2009 Dec 31
0
[LLVMdev] How does JIT/lli work with bc file?
On Wed, Dec 30, 2009 at 7:53 PM, Heming Cui <heming at cs.columbia.edu> wrote: > Dear all, >      I hope you enjoy your christmas! Recently I started to play lli with > bc. I found that the lli only calls the main() function in bc file and then > does nothing before the main() function returns, which means that the > JIT::runFunction() function is involved only once with the
2010 Mar 24
1
[LLVMdev] How to add extern function declaratioin to llvm bc?
Dear all, I am wondering if there is some API to add extern function declaration to bc file. For example, as given below, I want to add the line "extern void foo();" to my bc file with some llvm methods, how can I do this, please? extern void foo(); // the llvm bc code is: declare void @_Z3foov(). How can I add this line to llvm bc using some llvm methods?
2009 Dec 31
2
[LLVMdev] How does JIT/lli work with bc file?
Hi Eli, Thanks for your reply. If I add -force-interpreter to lli, then it seems that it can not run external function like printf or malloc. Is there any easy way to solve this problem? On Wed, Dec 30, 2009 at 11:26 PM, Eli Friedman <eli.friedman at gmail.com>wrote: > On Wed, Dec 30, 2009 at 7:53 PM, Heming Cui <heming at cs.columbia.edu> > wrote: > > Dear all, >
2009 Sep 24
3
[LLVMdev] Given Filename and line number, how to get its basicblock?
Dear developers, Here I met a question: if I got a file called foo.c, and I want to know which BasicBlock contains the 30 th line in foo.c, how can I get this BasicBlock in LLVM? Thanks, Heming
2009 Dec 31
3
[LLVMdev] How does JIT/lli work with bc file?
Dear all, I hope you enjoy your christmas! Recently I started to play lli with bc. I found that the lli only calls the main() function in bc file and then does nothing before the main() function returns, which means that the JIT::runFunction() function is involved only once with the main() function in bc file. If this was true, then lli does not have any control to the execution of program.
2010 Oct 25
0
[LLVMdev] Is it possible to map an LLVM instruction to x86 assembly instructions?
On Mon, Oct 25, 2010 at 12:39 PM, Heming Cui <hc2428 at columbia.edu> wrote: > Dear folks, >     If I want to setup a mapping between an LLVM instruction and the x86 > assembly instructions it generates, is this possible? >     Or, an equavalent question is, when LLVM is emitting assebmly > instructions, will it transform a set of LLVM instructions to a set of > assembly
2009 May 13
4
[LLVMdev] DataStructure Analysis ds-aa can not stop when passing mysqld
Quoting Chris Lattner <clattner at apple.com>: Dear staff, I am using the ds-aa to pass mysqld. I compile mysqld 4.0.12 statically (compile all libraries statically to the executable) and got the bc file, named it as mysqld.bc3. I use the command to pass: opt -load <poolalloc install dir>/lib/libLLVMDataStructure.so -ds-aa mysqld.bc3 -print-alias-sets -disable-output
2009 May 13
0
[LLVMdev] DataStructure Analysis ds-aa can not stop when passing mysqld
Quoting hc2428 at columbia.edu: Dear staff, Here is the bc file. Heming > Quoting Chris Lattner <clattner at apple.com>: > > Dear staff, > I am using the ds-aa to pass mysqld. I compile mysqld 4.0.12 > statically (compile all libraries statically to the executable) and > got the bc file, named it as mysqld.bc3. > I use the command to pass: > > opt
2010 Jan 01
1
[LLVMdev] How does JIT/lli work with bc file?
Hi Eli, I think the llvm configure has already configured with ffi. ../llvm-2.6/configure -help | grep ffi --enable-libffi Check for the presence of libffi (default is YES) In addition, the printf() can work in program, reflecting that libffi is working, right? How can I make Interpreter work with getpid(), fork(), and clone()? On Thu, Dec 31, 2009 at 2:33 AM, Eli
2009 Jun 28
3
[LLVMdev] Error when running llc to compile .bc to .s
Dear staff, I downloaded an llvm version from the svn trunk at June 12, because the released 2.5 version can not support "gcc -g -Ox", and x=1,2,3. I use the version in svn to compile an httpd.bc file succefully with dbgstoppoint() functions. However, when I use llc to compile the bc file to .s file (llc -f -o httpd.s httpd.bc), I met this error (the httpd.bc file will be
2009 Sep 24
0
[LLVMdev] Given Filename and line number, how to get its basicblock?
On Sep 23, 2009, at 10:37 PM, hc2428 at columbia.edu wrote: > Dear developers, > Here I met a question: if I got a file called foo.c, and I want > to know which BasicBlock contains the 30 th line in foo.c, how can I > get this BasicBlock in LLVM? > Hi Heming, The only way I can think of to do this is to look at the debug information. Devang's been hard at work recoding
2009 Dec 31
0
[LLVMdev] How does JIT/lli work with bc file?
On Thu, Dec 31, 2009 at 2:26 AM, Heming Cui <heming at cs.columbia.edu> wrote: > Hi Eli, >     Thanks for your reply. If I add -force-interpreter to lli, then it seems > that it can not run external function like printf or malloc. Is there any > easy way to solve this problem? Does the LLVM configure find libffi? -Eli
2009 May 18
0
[LLVMdev] DataStructure Analysis ds-aa can not stop when passing mysqld
On Wed, May 13, 2009 at 1:36 PM, <hc2428 at columbia.edu> wrote: > Quoting Chris Lattner <clattner at apple.com>: > > Dear staff, >     I am using the ds-aa to pass mysqld. I compile mysqld 4.0.12 > statically (compile all libraries statically to the executable) and > got the bc file, named it as mysqld.bc3. >     I use the command to pass: > > opt -load
2009 May 08
2
[LLVMdev] Some questions on the output formats of AliasSetTracker
Dear Staff, Here are some questions on the output formats of AliasSetTracker. The code is as below: int G1 = 9; int G2 = 5; int main() { int * XX; int * YY; XX = &G1; YY = XX; YY = &G2; XX = &G2; } The output for -anders-aa is: Alias Set Tracker: 5 alias sets for 4 pointer values. AliasSet[0xea6fb0,0] may alias, Mod/Ref 10 Call Sites: void ({ }*)*
2009 May 19
1
[LLVMdev] How to get line number and source file name for IR?
Dear Staff, I am asking this question: given a line of IR code in *.ll file, how can I know the corresponding line number and C/C++ source file name for this IR code? I am investigating some code patterns with LLVM IR, I need to know where this IR code come from (the line number in a source file name). An existing way is using -g option to compile my software, then I can
2010 Aug 08
1
[LLVMdev] What is the gcc optimization flag for "ENABLE_OPTIMIZED=1" in LLVM?
Dear LLVM developers, I am wondering the gcc optimization flag for "ENABLE_OPTIMIZED=1" in LLVM is -O2 or -O3. And what is the flag if I set "ENABLE_OPTIMIZED=0"? If I want to manually modify the flag for "ENABLE_OPTIMIZED=1" in LLVM, what file should I refer to? -- Regards, Heming Cui -------------- next part -------------- An HTML attachment was
2023 Apr 03
1
fs/ocfs2/super.c:1809 ocfs2_mount_volume() warn: missing error code 'status'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7b50567bdcad8925ca1e075feb7171c12015afd1 commit: 0737e01de9c411e4db87dcedf4a9789d41b1c5c1 ocfs2: ocfs2_mount_volume does cleanup job before return error config: arm64-randconfig-m041-20230329 (https://download.01.org/0day-ci/archive/20230401/202304012244.gX4H4rBO-lkp at intel.com/config) compiler:
2009 May 07
2
[LLVMdev] How to use the PoolDescriptor in ds-aa alias analysis?
Dear Staff, I am reading the paper "Making Context-sensitive Points-to Analysis with Heap Cloning Practical For The Real World", and I build the poolalloc module, and run the program in Figure 1 in this paper with -ds-aa alias analysis. Now I know that X and Y in the program would have distinct PoolDescriptors to make them disjoint data structures. However, how can we
2009 May 08
0
[LLVMdev] Some questions on the output formats of AliasSetTracker
On Thu, May 7, 2009 at 5:07 PM, <hc2428 at columbia.edu> wrote: > However, I am a little confused with these output. In Both anders-aa > and steens-aa, XX and YY should stay in the same AliasSet, and their > alias relationship should be May Alias, right? %XX and %YY are the results of alloca instructions (i.e. equivalent to the C expressions "&XX" and