Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] Re: a linking problem of LLVM"
2005 Aug 01
2
[LLVMdev] [patch] gccld not passing -export-dynamic to gcc for link
gccld passes -shared through if it's generating a shared library, but
if you're compiling a program that needs to have its symbols
externally accessible, it doesn't pass -export-dynamic through to gcc
for the final link.
The attached patch fixes this. I've tested with a small test case I
sent Chris, and with Python; both seem to work.
I also fixed some inaccurate comments in
2005 Aug 02
0
[LLVMdev] [patch] gccld not passing -export-dynamic to gcc for link
On Mon, Aug 01, 2005 at 05:13:15PM -0500, Nicholas Riley wrote:
> The attached patch fixes this.
...but had tabs in it. Misha kindly reminded me off-list that this
was bad. Try this one instead.
--
Nicholas Riley <njriley at uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
-------------- next part --------------
Index: tools/gccld/GenerateCode.cpp
2007 Mar 12
0
[LLVMdev] Expressing inter thread dependencies
On Mar 12, 2007, at 10:34 AM, Fabian Scheler wrote:
> After playing around a bit with LLVM, I
> decided to use LLVM, because of its great documentation, its clean and
> straight-forward design and it because it seems to be easily
> applicable also for beginners.
A gratuitous plug for a recent research project: If you use LLVM, you
can also get a compiler called SAFECode that (a)
2004 May 01
0
[LLVMdev] opt, llcc, ll++, -O1, -O2, -O3
On Sat, 1 May 2004, [koi8-r] "Valery A.Khamenya[koi8-r] " wrote:
> there are two issues concerning invoking optimizations:
>
> 1.
> this document:
> http://llvm.cs.uiuc.edu/docs/GettingStarted.html
> is very nice, it would be good though to add in a section
>
> An Example Using the LLVM Tool Chain
>
> examples on optimization step.
That's an
2004 Nov 17
4
[LLVMdev] Re: questions about LLVM
Hi Shuo,
I am CCing your questions to the LLVM developers list so others can
reply or correct me.
>I have a few questions about LLVM:
>(1) The LLVM tutorial says LLVM can be used in architecture research. If
>I want to run my program on an instruction set defined by myself, is LLVM
>a right tool to do that?
>
I don't think so.
>In this aspect, is LLVM similar to
2003 Jun 26
1
[LLVMdev] Core LLVM status update
I recently realized that I haven't sent out a status update for the LLVM
core components quite a while, so here is a new one:
We've been really busy working on LLVM adding all kinds of new features,
fixing lots of bugs, and are rapidly converging on our 1.0 release for
this August. Here are some of the new features added recently:
1. Support for static constructors/destructors in
2007 Mar 12
3
[LLVMdev] Expressing inter thread dependencies
Hello everybody,
I'm developing a source code transformation system for real-time
systems currently, i.e. I want to map the application (a set of event
handlers) to a run-time or operating system semi-automatically (if
anybody is interested in the background - see below, of course,
comments are welcome there, too ;-)). Therefore, I have to be able to
express dependencies between different
2005 Mar 14
2
[LLVMdev] Linking LLVM code with LLVM
Excuse the long post,
Chris Lattner wrote:
> On Fri, 11 Mar 2005, Marc Ordinas i Llopis wrote:
>
>> Sorry if this is obvious.
>> I'm trying to link LLVM-generated code with LLVM itself, and don't
>> know how to do it. Just as a little test, I've tried compiling the
>> example HowToUseJIT.cpp using llvm-g++, but I get tons of errors.
>>
>>
2006 Aug 20
0
[LLVMdev] Weird behavior of llvm-ld
Bram,
I looked over your patch and it looks good. I applied a patch based on
yours. The llvm-ld tool now uses the PluginLoader just like the opt
tool. It will also run some cleanup passes after the loaded plugins run
to ensure cruft is removed.
See this patch for details:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060814/036882.html
Thanks for the patch! And, yes, you are on
2005 Feb 14
0
LLVM February Status Update
Hi Everyone,
Sorry for the long overdue status update, as you might guess, the holidays
have been busy for everyone. :)
Here's your periodic dose of updates on the progress of LLVM, which takes
us from the LLVM 1.4 release until present CVS. I appologize if I forgot
anything!
Big Things:
1. Brian contributed a new SparcV8 backend, which (unlike the SparcV9
backend) uses the
2006 Sep 18
2
[LLVMdev] llvm-g++: Internal error
Hi,
i used CVS to checkout the source of llvm and llvm-gcc, compiled and built
them on my machine successfully.
i tried a c-language hello program, it was OK.
But when i tried a c++-language hello program, i got:
~/project/llvm/examples$ llvm-g++ t3.cc -o t3
gccld:
/developer/zsth/project/llvm/src/llvm/lib/Analysis/IPA/CallGraph.cpp:277:
void
2010 Mar 04
6
[LLVMdev] [PATCH] Before/After IR Dumps
On Thursday 04 March 2010 01:54:55 Chris Lattner wrote:
> On Mar 2, 2010, at 1:45 PM, David Greene wrote:
> > This set of patches adds support for dumping IR before or after specified
> > Passes. It adds the following command-line options:
> >
> > -print-before=<pass-option>
> > -print-after=<pass-option>
> > -print-before-all
> >
2006 Sep 14
1
[LLVMdev] use LLVM to convert C++ code to C code
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
I am newbie to llvm.<br>
<br>
I am unable to generate
2007 Jun 02
0
[LLVMdev] Secure Virtual Machine
We have a research project that is developing a Secure Virtual
Architecture using LLVM as the instruction set, and implementing via
a VM which we call a Secure Virtual Machine. The memory safety
foundations of this work are based on Dinakar Dhurjati's thesis and
publications:
http://llvm.org/pubs/
SVA is at a very preliminary stage but some slides about it are
attached.
2006 Nov 15
0
[LLVMdev] Byte code libraries and linking
On Wed, 15 Nov 2006, [ISO-8859-1] Pertti Kellom�ki wrote:
> I succesfully built a byte code version of newlib, so I tried to
> use it like this:
>
> $ llvm-link hello.bc $NEWLIB/libc.a -o linked.bc
>
> but apparently llvm-link only understands byte code files.
Right, llvm-link is the low level bytecode linking interface, not really
useful for this sort of use.
> Does it
2012 Nov 01
0
[LLVMdev] Tail Duplication Questions
http://llvm.org/viewvc/llvm-project/llvm/tags/RELEASE_31/final/lib/CodeGen/Passes.cpp?revision=156747&view=markup
void TargetPassConfig::addMachineSSAOptimization() {
// Pre-ra tail duplication.
if (addPass(EarlyTailDuplicateID) != &NoPassID)
printAndVerify("After Pre-RegAlloc TailDuplicate");
/// Add passes that optimize machine instructions after register allocation.
2006 Feb 28
3
[LLVMdev] Using llvm-gcc with a simple program and the '-c' option
Chris Lattner wrote:
> On Sun, 26 Feb 2006, Wink Saville wrote:
>> I then do the following in my makefile:
>>
>> llvm-gcc -c t1.c -o t1.bc
>> llvm-gcc -c t1sub1.c -o t1sub1.bc
>> llvm-gcc -c t1sub2.c -o t1sub2.bc
>> llvm-ar r t1.a t1sub1.bc t1sub2.bc
>> llvm-ar: creating t1.a
>> llvm-ld -o t1.app t1.bc t1.a /opt/llvm-1.6/llvm-gcc/lib/libcrtend.a
2006 Oct 30
2
[LLVMdev] Multisource Test Failures?
Hi all,
Is anyone else seeing tests in the Multisource/Applications directory
failing with something looking like this:
/Users/wendling/llvm/llvm.obj/Debug/bin/gccld -L/Users/wendling/llvm/
llvm-gcc4.install/lib/gcc/powerpc-apple-darwin8.8.0/3.4-llvm -L/
Users/wendling/llvm/llvm-gcc4.install/lib Output/siod.linked.bc -lc
-lpthread -lltdl -lm -o Output/siod.llvm
gccld: warning: Cannot
2013 Jul 28
0
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
Hi, Sean:
I'm sorry I lie. I didn't mean to lie. I did try to avoid making a
*BIG* change
to the IPO pass-ordering for now. However, when I make a minor change to
populateLTOPassManager() by separating module-pass and non-module-passes, I
saw quite a few performance difference, most of them are degradations.
Attacking
these degradations one by one in a piecemeal manner is wasting
2005 Mar 01
3
[LLVMdev] question about gccld and external libraries
hi,
I'm really new to llvm. I've successfully bootstrapped llvm-14 on my
system and am able to successfully compile c code to llvm.
the problem is now that gccld is complaining that it can't find the
libraries, like "c" or "crtend". [1]
all is fine, if I just use intrinsified functions like printf and
friends, but I want to use the clock_gettime function and