similar to: [LLVMdev] Issues with running the LLVMHello Pass on Windows

Displaying 20 results from an estimated 1100 matches similar to: "[LLVMdev] Issues with running the LLVMHello Pass on Windows"

2011 Sep 29
2
[LLVMdev] Instrumenting C/C++ programs
Hey guys, I have seen your interesting conversion. I am new for LLVM as well as clang compiler. I am going to use it now. it is quite difficult when someone starts it from scratch. But it is enjoyable and it is possible to familiarize with the environment by short time. Am gonna to use clang + llvm to generate AST from source code by using clang and to do high level transformation. Then I want to
2011 Sep 28
2
[LLVMdev] Instrumenting C/C++ programs
Hey Xiaoming, Thanks for those source codes. Can you please explain what this llvm-memory-profiling.patch does ? Thanks, Himanshu On Wed, Sep 28, 2011 at 6:49 AM, xiaoming gu <xiaoming.gu at gmail.com> wrote: > Hi, Himanshu. I once wrote an LLVM IR-based memory profiling > pass. Basically, I followed the code for EdgeProfiling. The source code is > enclosed here, which worked
2011 Sep 29
0
[LLVMdev] Instrumenting C/C++ programs
Hello, What you're describing is basically the parsing and codegen portions of clang. I'd suggest reading through the code there and posting to clang-dev if you have any specific questions. The clang devs are more likely to see your questions there as not all of them also hang out here. Regards, Jim On Sep 28, 2011, at 8:28 PM, eyasu getahun <eya.get at gmail.com> wrote: >
2011 Sep 29
0
[LLVMdev] Instrumenting C/C++ programs
The patch file is a diff file generated by "svn diff". It is about other modifications such as adding some lines to make files to make the added .c and .cpp files compiled. You may apply the patch file to LLVM source code by using a "patch" command or make the changes manually by reading the patch file. Xiaoming On Wed, Sep 28, 2011 at 6:05 AM, Himanshu Shekhar
2011 Sep 28
0
[LLVMdev] Instrumenting C/C++ programs
Hi, Himanshu. I once wrote an LLVM IR-based memory profiling pass. Basically, I followed the code for EdgeProfiling. The source code is enclosed here, which worked with LLVM 2.8. Hope it is helpful. MemoryProfiling.cpp---the instrumentation pass, which inserts profiling function calls into the original program MemoryProfiling.c---the profiling library containing the profiling calls
2011 Sep 27
1
[LLVMdev] Instrumenting C/C++ programs
Hey John, Thank you for the detailed reply. I tried to figure out myself which IR should I use for my purpose ( Clang's Abstract Syntax Tree (AST) or LLVM's SSA Intermediate Representation (IR). ), but couldn't really figure out which one to use. Here is what I m trying to do. Given any C/C++ program (like the one given below), I am trying to insert calls to some function, before and
2011 Oct 31
1
[LLVMdev] Runtime optimization using llvm
Hello, I am getting to know how the Runtime Optimization feature of LLVM works and how I can use it. I want to know how I could print the results of any analysis and transformation pass. Say, I have a program written in c and I ran the edge-profiling pass onto it. Now I want to see the result. How could I do it? Also if I happen to change one of the passes inside folder
2011 Oct 29
2
[LLVMdev] llvmc: Can't find program 'llvm-g++'
I am getting this error while using the command "llvmc -O3 -Wall hello.cpp" where hello.cpp is some cpp file on my machine. llvmc is the driver calling a bunch of tools like llvm-g++, opt, llc etc. I think the llvmc tool could not probably locate the llvm-g++ tool. I would like to know where should I specify the path to llvm-g++ for llvmc to find them. Also can someone give me the link
2011 Aug 17
1
[LLVMdev] .so file creation for new passes on Visual Studio
Hey chenwj, Thanks for the reply.Actually, I tried Cygwin to get things work on windows.Any idea how does it compare with MinGW? On Wed, Aug 17, 2011 at 6:43 AM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote: > Hi, > > Sorry, my bad. Loadable module is available on Windows, but is not built > with MSVC. Try MinGW instead. > > Regards, > chenwj > > -- > Wei-Ren Chen
2011 Sep 23
3
[LLVMdev] Instrumenting C/C++ programs
I just read that LLVM project could be used to do static analysis on C/C++ codes using the analyzer Clang which the front end of LLVM. I wanted to know if it is possible to extract all the accesses to memory(variables, local as well as global) in the source code using LLVM. Is there any inbuilt library present in LLVM which I could use to extract this information. If not please suggest me how to
2011 Sep 15
2
[LLVMdev] LLVMHello pass compile error under Cygwin
Thankyou Takumi, Without --enable-optimized I get a"File too big" error from the linker: ... llvm[1]: Linking all LLVMLibs together for LLVM-3.0svn /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: /cygdrive/c/Users/Graham/home/projects/llvm_cygwin3/tools/llvm-shlib/Debug+Asserts/LLVM-3.0svn.a.o: too many sections (59747)
2011 Nov 17
1
[LLVMdev] Instrumenting C/C++ programs
Hello guys, I am trying to know how clang generates AST from source code. But it is not clear for me how clang generates it. Can you tell me which class or function of clang is building/generating AST? I want to see the specific function or algorithm of clang which generates AST. Thanks in advance for your idea. On Thu, Sep 29, 2011 at 1:22 PM, Jim Grosbach <grosbach at apple.com> wrote:
2011 Sep 16
0
[LLVMdev] LLVMHello pass compile error under Cygwin
Graham, please try "--disable-embed-stdcxx". In TOT, "--enable-embed-stdcxx" by default. It would be the time to change the default.... ...Takumi
2011 Aug 16
3
[LLVMdev] .so file creation for new passes on Visual Studio
Hi! I was trying to run an already build LLVM-pass ( the Hello world ) on Visual Studio. I could locate the The Hello world pass sources in llvm/lib/Transform/Hello/*.But when I compiled llvm using the command "cmake -G "Visual Studio 10" ..\llvm" , I couldn't find the LLVMHello.so file in "build_directory/Debug/lib/LLVMHello.so" neither in
2004 Sep 04
3
Help Running am-main.pl Perl/CGI on Apache Server
Hi all, I've installed Asterisk on Linux Red Had 9. Now, I was trying to set up a GUI based system for the PBX. I downloaded some packages, but I have to have Perl running CGI scripts through the webserver. It does not allow me to. I am able to run a basic script that just just prints out html messages and nothing else. However, when I try to run am-main.pl or config.pl or any other
2011 Aug 17
0
[LLVMdev] .so file creation for new passes on Visual Studio
Hi, Sorry, my bad. Loadable module is available on Windows, but is not built with MSVC. Try MinGW instead. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
2002 Mar 05
1
samba2.2.2+openldap
I have setup samba2.2.2+openldap using idealx's howto. I have added one user shon using 'smbldap-useradd.pl -a shon' then I changed th passwd using smbldap-passwd shon' But when I try to access the smb server it can not authenticate user shon and says foll in log. [sama thing happened with 2.2.3] [2002/03/04 15:14:13, 0] passdb/pdb_ldap.c:ldap_search_one_user(178)
2002 Oct 03
1
Urgent: LDAP showstopper
I have a Smaba2.2.5+LDAP Setup Many of my newly added users suddenly not able login even I am not able to add any new users. When I run smbpasswd -D 99 e91255 e91255 it gives the foll o/p. This has beame network show-stopper and the users are started complaining. TIA Shekhar [The last few lines may give a hint] Initialising global parameters params.c:pm_process() - Processing configuration file
2011 Nov 02
0
[LLVMdev] debugger doesn't go inside the bitecode file
Hello, I am using gdb to debug the -instcount pass. The steps I followed were: 1. gdb opt 2. break llvm::PassManager::run 3. run -stats -analyze -instcount filename.bc I got the bc file using -emit-llvm option as following: llvm-gcc -O3 -emit-llvm filename.c -c -o filename.bc But when I started debugging, the debugger never really went into my bitecode file, filename.bc and it returned me the
2006 Oct 24
2
Installing stats4 package
Hi, I wantto use 'mle' function in R on linux. As I see its been integrated into the stats4 package. Am I correct ? If yes, Can anyone suggest how to install the stats4 package to be able to run 'mle' function in R on linux ? Otherwise how to sort out this problem ? Thanks Himanshu [[alternative HTML version deleted]]