similar to: [LLVMdev] Building LLVM as bitcode libraries + my projects

Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] Building LLVM as bitcode libraries + my projects"

2011 Apr 09
0
[LLVMdev] [cfe-dev] Adding new target for hobby OS
This concerns me as well. I've accepted a programming bounty to port LLVM to AROS x86. Once that's done I suspect many people will want it ported to the other processors AROS supports. ----- Original Message ---- > From: Bjarke Walling <bjarke.walling at gmail.com> > To: cfe-dev at cs.uiuc.edu > Sent: Sat, April 9, 2011 2:06:30 PM > Subject: [cfe-dev] Adding new
2009 Mar 03
1
[LLVMdev] One way to support unwind on x86
Hi Bjarke, Bjarke Walling wrote: > I see. So you check this value stored in a thread-local variable after > each call? And you lower invoke to a call and branch with regard to > this value? > Yes, that's correct. > What are these sophisticated techniques you are talking about? My time > frame for implementing this is, not unlimited, but fairly long. Less > than a
2009 Nov 07
2
[LLVMdev] linking share libraries when building whole-program bitcode file
Hi,all I'm working on how to build a whole-program bitcode file for big projects with a general solution,and I met a problem I simplify it as this: llvm-gcc -c -emit-llvm test.c llvm-ld test.o -lpthread //here llvm-ld tells me that "Cannot find library pthread" then I do this: llvm-ld test.o lli -load=/usr/lib/libpthread.so a.out.bc //lli tells me the /usr/lib/libpthread.so
2012 Sep 25
0
[LLVMdev] Can clang generate the same bitcode with the toolchains that have same version of libraries but different targets
Hi David, Thank you for your reply. In fact, my question originally came from the google native client. I thought that the bitcode can be shared among the different targets as it inherently is. Therefore, I used the clang to generate the bitcode to prove that my thought is right, and I supposed that the different bitcode caused from the different versions of libraries before. Thanks for the
2012 Sep 25
0
[LLVMdev] Can clang generate the same bitcode with the toolchains that have same version of libraries but different targets
Kenia Kuo <kenkillerkuo at gmail.com> writes: [snip] > Currently, I tried the toolchains of ARM and PowerPC that have the > different versions of libraries, obviously the generated bitcode are > different. > So I wonder whether the version of library is the only reason why the > generated bitcode are different.
2012 Sep 25
2
[LLVMdev] Can clang generate the same bitcode with the toolchains that have same version of libraries but different targets
Hi Óscar, Thank you for your reply. It looks like the limitations are the platform's API and ABI (included the size of variable). So, if there are two platforms that have the same API, ABI but different ISAs, the bitcode can be shared. Can I say that? Thanks, Kenia Kuo 2012/9/25 Óscar Fuentes <ofv at wanadoo.es> > Kenia Kuo <kenkillerkuo at gmail.com> writes: > >
2012 Sep 25
5
[LLVMdev] Can clang generate the same bitcode with the toolchains that have same version of libraries but different targets
Hi, I'm using clang to build my project as follows: $ clang++ -ccc-host-triple arm-none-linux-gnueabi --sysroot=/usr/local/arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/ -o foo.o -emit-llvm -c foo.cpp $ clang++ -ccc-host-triple arm-none-linux-gnueabi --sysroot=/usr/local/arm-none-linux-gnueabi/arm-none-linux-gnueabi/libc/ -o main.o -emit-llvm -c main.cpp $ llvm-link foo.o main.o -o
2009 Mar 03
0
[LLVMdev] One way to support unwind on x86
Hi Nicolas, On Tue, Mar 3, 2009 at 11:38 AM, Nicolas Geoffray <nicolas.geoffray at lip6.fr> wrote: > > Duncan Sands wrote: >> >> Another possibility, very close you yours and currently used by the vmkit >> project, is to modify all functions so they return two values, the usual >> return value and an additional boolean value indicating whether an >>
2005 Aug 30
0
Xen 2.0.7 , amd64 (32 bit mode) lvm partition: runaway loop modprobe binfmt-464c
Hi i''m trying to run Xen on my amd64. Installed is Debian 3.1 sarge i386 and Xen 2.0.7, my whole enviroment is 32 bit. When i''m running a xenU domain and use /var/xen/samba as a ext2 fs file ( file:/var/xen/samba,hda1,w ) everything goes according to plan. If i use my LVM partition ( phy:/dev/xen/samba-ha,hda1,w ) it gives during boot: -------- ... NET:
2010 Jun 11
2
[LLVMdev] experimenting with partial evaluation
Hello ! I wanted to experiment with partial evaluation and llvm seems to be the right tool for this, but since I'm new to it of course I'm a bit lost ! I'll try to explain what I want to do in the simplest possible way : I have a C program. In this program, there is a function f( a,b ). I have a value A for a. I want to specialise f() so I get a function fA( b ) which is the same as
2009 Mar 03
2
[LLVMdev] One way to support unwind on x86
Bjarke Walling wrote: > Another option I'm thinking about is creating a runtime that, when > initialized, compiles the DWARF information to native code. It could > create an Instruction Pointer lookup hash table associated with unwind > actions. JIT-compiling the unwinder data, yes. Given that the unwinder data is, basically, the source for a specialized bytecode interpreter I
2009 Aug 20
0
[Xen-API] 32 bit vm on 64 bit xen server
Hi all, it is possible create a 32 bits xen guest in a 64 bits xen server? I need get guest running with DirectAdmin (32 bits) and the problem is: if i use a 64 bits kernel for the guest, the Directadmin instalation fails because the 64 bits arch , if i create the guest with a 32 kernel it fails on boot: XENBUS: Device with no driver: device/vkbd/0 XENBUS: Device with no driver:
2005 Aug 10
0
Xen and LVM snapshots on FC4
Hello, I''ve tried to make Xen and LVM snapshots work with RHEL3 (upgraded to FC4 partly, using FC4 kernel 2.6.12-1.1387_FC4, xen-2-20050522 installed from RPM). I had a problem where non-snapshot LVM images worked, but as soon as I create a snapshot of one and tried to use that, I would get a crash like this as soon as I booted up a Xen domain: Freeing unused kernel memory: 160k freed
2009 Nov 17
0
[LLVMdev] linking share libraries when building whole-program bitcode file
Nan Zhu <zhunansjtu at gmail.com> writes: > llvm-gcc -c -emit-llvm test.c > > llvm-ld test.o -lpthread //here llvm-ld tells me that "Cannot find library > pthread" $ llvm-gcc -c -emit-llvm test.c $ llvm-ld test.o -lpthread $ ./a.out Error opening '/usr/lib/libpthread.a': /usr/lib/libpthread.a: invalid ELF header -load request ignored. Hello world
2009 Mar 03
5
[LLVMdev] One way to support unwind on x86
Hi Duncan, Hi Bjarke, Duncan Sands wrote: > Take a look at libunwind (http://www.hpl.hp.com/research/linux/libunwind/). > Another possibility, very close you yours and currently used by the vmkit > project, is to modify all functions so they return two values, the usual > return value and an additional boolean value indicating whether an exception > was thrown during the call or
2013 Jun 18
0
[LLVMdev] Building a stable bitcode format for PNaCl - based on LLVM IR
Is it possible to use PNaCl infrastructure (i.e. translation and execution in a sandbox) without a Chrome ? I mean a something like a standalone VM like Java or Mono/C#. Dmitri Am 18.06.2013 17:22, schrieb Eli Bendersky: > Hello, > > [The first paragraph is safe to skip if you already know what PNaCl is.] > The Portable Native Client (PNaCl) project is a toolchain for producing
2011 May 20
0
[LLVMdev] Compile a project into LLVM Bitcode
You can use Clang to compile source to bitcode: clang -c hello.c -emit-llvm -o hello.bc Hope that helps, Philip -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Julien Henry Sent: Friday, May 20, 2011 10:42 AM To: LLVM Developers Mailing List Subject: [LLVMdev] Compile a project into LLVM Bitcode Hi all, I'm trying to
2014 Sep 15
2
[LLVMdev] How to translate library functions into LLVM IR bitcode?
Thanks for your reply, Yabin. Actually I'm trying to come up with a way to translate any source code into bitcode format. So some of them are not necessarily LLVM intrinsics. Also it seems like that dynamically loading the library by dlopen() is for loading object files, not .bc files. So it might not be useful for library in .bc files. Anyway, I've found a way to solve this by manually
2013 Jan 17
0
[LLVMdev] Migrate Project Build system to LLVM BitCode
Hi Ahmad, If the Makefile contains only this command, then it is not worth spending time on GoldPlugin. If you are building a large project, then it will be simpler to use GoldPlugin. The steps you are using seem right. You can possibly combine the last two steps (3&4) using only 1 clang command. clang -g -O2 -o .libs/mergedexe .libs/mergedbc.bc -pthread -Wl,--export-dynamic
2009 Oct 15
0
[LLVMdev] strace for whole-program bitcodes (was: RE: building whole-program bitcode with LLVM)
Hi, Kelly, Have you found the solution for this problem? I met a similar problem when I were trying to test MySQL 5.0 with LLVM. The following is my step, but still failed since llvm-ld can not recognize some gcc link flags. 1. during the configuration, use a script such as llvm-gcc.sh, at this time the script only invoke the gcc. This is necessary because the gnu configure will test the