search for: malecha

Displaying 20 results from an estimated 29 matches for "malecha".

2011 Jun 11
0
[LLVMdev] Kaleidoscope Build Error
...gcc/llvm-build-Release/examples/OCaml-Kaleidoscope/Chapter7/Release+Asserts/toplevel.cmx /Users/erickt/Projects/llvm/gcc/llvm-build-Release/examples/OCaml-Kaleidoscope/Chapter7/Release+Asserts/toy.cmx Please let me know if that doesn't work for you. On Fri, Jun 10, 2011 at 8:37 PM, Gregory Malecha <gmalecha at gmail.com> wrote: > Hello Chris and Erick, > > I am very interested in using your llvm ocaml bindings, but I'm having some > problems getting my code to link with it. I couldn't find a mailing list or > anything like that to ask this question on. I've g...
2011 Jul 15
2
[LLVMdev] Makefile Question
I thought it would, but it seems to be missing the CloneModule symbol (which isn't called from anywhere in the LLVM codebase). On Fri, Jul 15, 2011 at 7:43 AM, John Criswell <criswell at illinois.edu>wrote: > On 7/14/11 7:36 PM, Gregory Malecha wrote: > > Hello, > > I have a question about how to set up a Makefile that generate a .so that I > can load into opt without getting duplicate symbols. Here's what I have > right now: > > > Have you tried removing LINK_COMPONENTS below? I suspect that the opt > b...
2011 Jul 15
0
[LLVMdev] Makefile Question
...d up linking in the *.o files needed to get exactly what I needed (in your case, the file defining CloneModule and whatever else you need), without pulling in too much (causing duplicate symbol issues with opt). Hopefully this helps, and good luck! ~Will On Fri, Jul 15, 2011 at 10:56 AM, Gregory Malecha <gmalecha at eecs.harvard.edu> wrote: > I thought it would, but it seems to be missing the CloneModule symbol (which > isn't called from anywhere in the LLVM codebase). > > On Fri, Jul 15, 2011 at 7:43 AM, John Criswell <criswell at illinois.edu> > wrote: >> &gt...
2011 Jun 23
3
[LLVMdev] llvm compilation of libc?
Hello, I'm wondering if anyone had any success (even a small amount) compiling any variant of libc to llvm bitcode? -- gregory malecha -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110622/b5fad437/attachment.html>
2011 Jul 15
2
[LLVMdev] Makefile Question
...{HOME}/.root/usr/bin/protoc I'm pretty sure the problem comes from LINK_LIBS_IN_SHARED, but my code depends on the google protobuf library so I need to link against that otherwise I get undefined symbols. Does anyone know how to solve this problem with LLVM makefiles? Thank you. -- gregory malecha http://www.people.fas.harvard.edu/~gmalecha/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110714/31e4c8b1/attachment.html>
2011 Jun 30
1
[LLVMdev] clang -emit-llvm uses system ld
...ls? > I think this is a misunderstanding on my part about what the dragonegg plugin is supposed to do. I am looking for something that will essentially be a replacement for gcc except that it generates llvm bitcode instead of normal object files. If I run something like: gcc-4.5 -fplugin=/homes/malecha/tmp/libc-scratch/dragonegg/dragonegg.so a.c -c -o a.o -flto /tmp/ccRKW0GD.s: Assembler messages: /tmp/ccRKW0GD.s:1: Error: junk at end of line, first unrecognized character is `.' /tmp/ccRKW0GD.s:2: Error: no such instruction: `target triple="x86_64--linux-gnu"' /tmp/ccRKW0GD.s:4:...
2011 Jul 15
0
[LLVMdev] Makefile Question
On 7/14/11 7:36 PM, Gregory Malecha wrote: > Hello, > > I have a question about how to set up a Makefile that generate a .so > that I can load into opt without getting duplicate symbols. Here's > what I have right now: Have you tried removing LINK_COMPONENTS below? I suspect that the opt binary already contain...
2011 Jun 30
2
[LLVMdev] clang -emit-llvm uses system ld
...ram as bitcode though. Will LTO do that for me? What I'm trying to do is build a bitcode version of libc that I can combine with a program and analyze/optimize the resulting program. 2011/6/28 Rafael Ávila de Espíndola <rafael.espindola at gmail.com> > On 11-06-28 10:45 PM, Gregory Malecha wrote: > > Hello, > > > > I've been trying to build some normal linux applications with clang and I > keep running into a snag in configure scripts. Perhaps these scripts are not > written very well, but the current clang behavior seems strange. When I run > clang wit...
2011 Jun 23
0
[LLVMdev] llvm compilation of libc?
I would recommend Newlib. It's easy to configure and compile using Clang. http://sourceware.org/newlib/ - xi On Jun 23, 2011, at 2:07 AM, Gregory Malecha wrote: > Hello, > > I'm wondering if anyone had any success (even a small amount) compiling any variant of libc to llvm bitcode? > > -- > gregory malecha > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu...
2011 Jun 30
0
[LLVMdev] clang -emit-llvm uses system ld
...ld a bitcode version of libc > that I can combine with a program and analyze/optimize the resulting program. > > > > 2011/6/28 Rafael Ávila de Espíndola <rafael.espindola at gmail.com > <mailto:rafael.espindola at gmail.com>> > > On 11-06-28 10:45 PM, Gregory Malecha wrote: > > Hello, > > > > I've been trying to build some normal linux applications with clang and I > keep running into a snag in configure scripts. Perhaps these scripts are not > written very well, but the current clang behavior seems strange. Wh...
2011 Jun 13
2
[LLVMdev] Reading Instructions from Ocaml
...sible to actually write a transformation with them. Specifically, there are a lot of functions to build each type of instruction, but there doesn't seem to be any way to query an llvalue and determine what kind of instruction it is. Is there something that I am missing? Thank you. -- gregory malecha -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110613/edef6cb4/attachment.html>
2011 Jul 29
3
[LLVMdev] llvm-link Patch
...t (it recomputes the set of symbols that need to be linked in after each link), and it probably has some problems with append linkage, but so far it has been enough for me. I'd like to clean this up and commit it back to llvm. Would someone like to tell me how to proceed? Thanks. -- gregory malecha http://www.people.fas.harvard.edu/~gmalecha/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110729/00dd1768/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... N...
2011 Jun 23
1
[LLVMdev] llvm compilation of libc?
...[lib_a-memcpy.o] Error 1 Thanks. On Thu, Jun 23, 2011 at 6:55 AM, Xi Wang <xi.wang at gmail.com> wrote: > I would recommend Newlib. It's easy to configure and compile using Clang. > > http://sourceware.org/newlib/ > > - xi > > On Jun 23, 2011, at 2:07 AM, Gregory Malecha wrote: > > > Hello, > > > > I'm wondering if anyone had any success (even a small amount) compiling > any variant of libc to llvm bitcode? > > > > -- > > gregory malecha > > _______________________________________________ > > LLVM Developers...
2011 Jun 29
2
[LLVMdev] clang -emit-llvm uses system ld
...h exit code 1 (use -v to see invocation) $ clang -emit-llvm test.c -c $ It seems to me that clang should call llvm-ld when it generates llvm code and ld otherwise, but maybe there's something that I have configured incorrectly. What is the appropriate way to address this? Thanks. -- gregory malecha -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110628/d84efb0c/attachment.html>
2011 Jun 14
0
[LLVMdev] Reading Instructions from Ocaml
On Mon, Jun 13, 2011 at 12:09 PM, Gregory Malecha <gmalecha at gmail.com> wrote: > Hello, Hello Gregory, > I'm interested in the OCaml bindings, but I've been digging through them and > it doesn't seem possible to actually write a transformation with them. > Specifically, there are a lot of functions to build each t...
2011 Jul 31
1
[LLVMdev] llvm-link Patch
...ink llvm. Is there a way to do this with other tools? I noticed a TODO in the llvm-link.cpp file that said that this should be done so I figured that that would be the right place to do it. 2011/7/30 Rafael Ávila de Espíndola <rafael.espindola at gmail.com> > On 2011-07-29 16:16, Gregory Malecha wrote: > > Hello, > > > > I'm working on a project that involves archive files and since llvm-link > > does not currently support them, I have a simple patch (attached) to add > > this functionality. It isn't really efficient (it recomputes the set of > >...
2011 Jun 28
1
[LLVMdev] Where is the SVA code located?
Hello, Is the SVA codebase publically available, and if so, where can I find it? Thanks. -- gregory malecha -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110627/4f816aa6/attachment.html>
2011 Jul 31
0
[LLVMdev] llvm-link Patch
On 2011-07-29 16:16, Gregory Malecha wrote: > Hello, > > I'm working on a project that involves archive files and since llvm-link > does not currently support them, I have a simple patch (attached) to add > this functionality. It isn't really efficient (it recomputes the set of > symbols that need to be link...
2011 Jun 29
0
[LLVMdev] clang -emit-llvm uses system ld
On 11-06-28 10:45 PM, Gregory Malecha wrote: > Hello, > > I've been trying to build some normal linux applications with clang and I keep running into a snag in configure scripts. Perhaps these scripts are not written very well, but the current clang behavior seems strange. When I run clang with the -emit-llvm option, it s...
2011 Jul 25
2
[LLVMdev] dragon egg adding extra characters to function names
...special and so doesn't want it to be redefined, is that correct? I've been running a post-processing pass that finds functions and function references with the character and removes it, but this kind of messes up my workflow. Is there anyway to tell LLVM to not do this? Thanks. -- gregory malecha http://www.people.fas.harvard.edu/~gmalecha/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110725/ff7f73ad/attachment.html>