similar to: [LLVMdev] .so file creation for new passes on Visual Studio

Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] .so file creation for new passes on Visual Studio"

2010 Apr 18
0
[LLVMdev] .so file creation for new passes
Hi ! The Hello world pass sources are in llvm/lib/Transform/Hello/* If you compile llvm, the Hello library will be compiled too. It's not installed but it's in build_directory/Debug/lib/LLVMHello.so (or in build_directory/Release/lib/LLVMHello.so) Olivier. On Sun, Apr 18, 2010 at 7:35 AM, kalyan ponnala <ponnala.kalyan at gmail.com>wrote: > Hello, > > I was going
2010 Apr 18
2
[LLVMdev] .so file creation for new passes
> If you compile llvm, the Hello library will be compiled too. It's not > installed but it's in build_directory/Debug/lib/LLVMHello.so (or in > build_directory/Release/lib/LLVMHello.so) Loadable passes are not supported on windows due to lack of OS dynamic linking support (and I doubt they will be supported ever). -- With best regards, Anton Korobeynikov Faculty of Mathematics
2010 Apr 18
0
[LLVMdev] .so file creation for new passes
Thanks a lot for the reply guys. So, does that mean that I cant write my own passes if I work on Windows side of the LLVM? Is there any other way to use a new pass. How are windows users supposed to work? Thanks again. On Sun, Apr 18, 2010 at 7:16 AM, Anton Korobeynikov <anton at korobeynikov.info > wrote: > > If you compile llvm, the Hello library will be compiled too. It's
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
2010 Apr 18
3
[LLVMdev] .so file creation for new passes
Hello, I was going through the LLVM docs "writing an LLVM Pass". Can someone tell me how to create the Hello.so file as it is said in the document. It talks about compiling the Hello pass using gmake. I am a Windows user (windows 7, cmake, visual studio 9 2008). I cant use cmake here as this hello pass has links to the llvm's solution file, I mean It uses some of the header files
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 Oct 19
1
[LLVMdev] Issues with running the LLVMHello Pass on Windows
Hi, I was trying to write a LLVM Pass, so I first read http://llvm.org/docs/WritingAnLLVMPass.html#quickstart about how to write a llvm pass. Here, under setting up the build environment settings, it was instructed to configure and build LLVM directly inside the LLVM source tree rather than in a separate objects directory. Now, my LLVM source tree is C:\LLVM\llvm-2.9 while my build is in
2009 Oct 12
1
[LLVMdev] current state of building analysis passes out-of-tree with llvm-config?
Hi, what's the current state of being able to build simple analysis passes out-of-tree against only llvm headers and libraries with llvm-config? I see that clang and klee do not use llvm-config but for example rubinius does. Should both approaches be documented? Currently for example docs/WritingAnLLVMPass.html says "you need to create a new directory somewhere in the LLVM source
2014 Aug 12
2
[LLVMdev] All the passes (even the LLVMHello.so) fail at doFinalization()
Hi all, I find all my passes are all broken with LLVM 3.4. Then I tried out the LLVMHello.so specified in the LLVM doc, http://llvm.org/docs/WritingAnLLVMPass.html and it also crashes. It seems all the functions in the pass do work, but LLVM crashes in the doFinalization() step. Does anyone know this problem? Thanks! Tianyin
2006 Aug 28
2
[LLVMdev] opt -load error on Darwin
Hi, I am following the instructions on Writing an LLVM Pass on Darwin(8.7.0) powerpc. The loadable library is built. But "opt -load " gives error saying "Symbol not found". I am using LLVM 1.8. Could someone tell me how to fix it? I have tried the same procedure on Pentium4 Redhat9. Everything is ok there. So I think there must be some specific problem on Darwin that I should
2014 Aug 12
2
[LLVMdev] All the passes (even the LLVMHello.so) fail at doFinalization()
I just follow the tutorial: http://llvm.org/docs/WritingAnLLVMPass.html Actually it's not only my module, I used the LLVMHello.so (a sample module in the source tree) and get the crash (I didn't do anything :-P). ~t On Tue, Aug 12, 2014 at 12:57 AM, Eric Christopher <echristo at gmail.com> wrote: > Weird, it definitely shouldn't be crashing. How did you create your
2014 Aug 12
2
[LLVMdev] All the passes (even the LLVMHello.so) fail at doFinalization()
Oh, you mean opt -disable-verify? Yes, it does eliminate the crashing... Do you know what's the problem, Eric? Thanks a lot! ~t On Tue, Aug 12, 2014 at 12:42 AM, Eric Christopher <echristo at gmail.com> wrote: > Tried opt -verify on your module? > > -eric > > On Tue, Aug 12, 2014 at 12:28 AM, Tianyin Xu <tixu at cs.ucsd.edu> wrote: > > Hi all, > >
2014 Aug 12
2
[LLVMdev] All the passes (even the LLVMHello.so) fail at doFinalization()
The module is shipped with the source code, so it's from the developers (not me). The path in the source tree is: llvm-3.4.2.src/lib/Transforms/Hello After compiled LLVM *#./configure --prefix=XXX --with-binutils-include=/path-to-binutils-2.24/include --enable-debug-symbols --enable-debug-runtime --enable-assertions --disable-optimized; make; make install* LLVMHello.so is generated at
2012 Aug 21
2
[LLVMdev] issues registering passes in osx 10.8
Hi everyone, This is Ashwin. I have a mac running osx 10.8. I am new to LLVM and have the version 3.1 installed. I am trying to get some LLVM transform passes running on my machine. After having compiled the LLVM source without making changes to the configuration files I am able to run the LLVM gcc and clang. But I am having some trouble using the passes. I tried loading the hello pass inside the
2014 Aug 12
2
[LLVMdev] All the passes (even the LLVMHello.so) fail at doFinalization()
no... I guess verifier runs by default and it points to the doFinailization() function :-( ~t On Tue, Aug 12, 2014 at 12:53 AM, Eric Christopher <echristo at gmail.com> wrote: > No idea, I was suggesting to just run the verifier to see if it would > pinpoint what's broken about the module. > > -eric > > On Tue, Aug 12, 2014 at 12:52 AM, Tianyin Xu <tixu at
2006 Aug 28
0
[LLVMdev] opt -load error on Darwin
On Sun, 2006-08-27 at 21:57 -0500, Jing Yu wrote: > Hi, > Hi Jing, > I am following the instructions on Writing an LLVM Pass on > Darwin(8.7.0) powerpc. The loadable library is built. But "opt -load > " gives error saying "Symbol not found". I am using LLVM 1.8. Could > someone tell me how to fix it? I have tried the same procedure on > Pentium4 Redhat9.
2015 Sep 17
2
Problems building LLVMHello, spaces in path
I recently had a problem creating LLVMHello. I used this CMake file #!/bin/sh # clangcmake.sh cmake -G "Eclipse CDT4 - Unix Makefiles" -DLLVM_TARGETS_TO_BUILD="X86" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_ECLIPSE_VERSION=4.5 -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang ../llvm then I ran make LLVMHello and the build failed
2006 Aug 28
3
[LLVMdev] opt -load error on Darwin
Thank you, Reid. I have applied tha patch to ltdl.c ltdl.h. The problem still exists. I looked up the symbol on libLLVMCore.a, and found three U-entries and one T-entry. However, the Darwin linker is not able to find the T-entry. Any idea? pollux:~/test jingyu$ opt -load /Users/jingyu/tools/build-ppc/Release/lib/LLVMHello.so -help Error opening
2008 Oct 22
2
[LLVMdev] Regarding Error on Mac OSX
Hello guys, I get the following error whenever i try to check if the following pass exists. I am using Mac OSX leopard and gcc4 opt -load ../Release/lib/LLVMHello.dylib -hello Error opening '../Release/lib/LLVMHello.dylib': dlopen(../Release/lib/LLVMHello.dylib, 1): Symbol not found: __ZN4llvm12FunctionPass11runOnModuleERNS_6ModuleE Referenced from:
2011 May 02
2
[LLVMdev] Hello Pass Problem
Hi all I am trying hello pass in llvm. I have compiled and could generate LLVMHello.so but while giving the pass using opt i am getting below mentioned error. Command used: *opt-2.8 -load ../../cse231_project/llvm/llvm-2.9/Debug/lib/LLVMHello.so -hello < hello.bc* Error opening '../../cse231_project/llvm/llvm-2.9/Debug/lib/LLVMHello.so':