Displaying 20 results from an estimated 400 matches similar to: "[LLVMdev] How to link the right libraries?"
2006 May 01
0
[LLVMdev] How to link the right libraries?
On Mon, 1 May 2006, Fernando Magno Quintao Pereira wrote:
> Hello, llvmers. Could someone explain me a little about the opt tool? I am
> having problems to load a MachineFunctionPass using opt. I have this pass:
MachineFunctionPass's cannot be used as part of opt, they can only be used
as part of LLC. Further, you have to explicitly modify the target you are
interested in to add it
2006 Dec 02
3
[LLVMdev] invalid bytecode signature
I am trying to disassemble some bytecode using llvm-dis:
llvm-dis -f -o llvmtest/sliceme2.cbc.ll llvmtest/sliceme2.cbc
However, I am getting the following error.
llvm-dis: Invalid bytecode signature: 464C457F (Vers=0, Pos=4)
How do I go about figuring out what the problem is?
llvmtest/sliceme2.cbc is newly compiled using the same version of
llvm-gcc as llvm-dis.
--
Ryan M. Lefever
2014 Jun 07
3
[LLVMdev] Load/Store Instruction Error
Hi all,
I started to write an LLVM backend for custom CPU. I created XXXInstrInfo
but there are some problems. I searched for it but I couldn't find
anything. Can anyone help me?
include "XXXInstrFormats.td"
def simm16 : Operand<i32> {
let DecoderMethod = "DecodeSimm16";
}
def mem : Operand<i32> {
let PrintMethod = "printMemOperand";
let
2006 Dec 02
0
[LLVMdev] invalid bytecode signature
Hi Ryan,
On Fri, 2006-12-01 at 18:06 -0600, Ryan M. Lefever wrote:
> I am trying to disassemble some bytecode using llvm-dis:
> llvm-dis -f -o llvmtest/sliceme2.cbc.ll llvmtest/sliceme2.cbc
>
> However, I am getting the following error.
>
> llvm-dis: Invalid bytecode signature: 464C457F (Vers=0, Pos=4)
The problem is most likely that sliceme2.cbc is *not* bytecode. Open the
2009 Mar 28
0
[LLVMdev] LLVM test-suite
On Mar 28, 2009, at 12:56 PM, Aaron Gray wrote:
> How do I get the LLVM test-suite to work I have followed the /docs/
> TestingGuide.html but cannot seem to get it to work. I have tried
> many variations, but get no joy. The docmunetation does not appear
> very clear.
Some things that are not so obvious:
The testsuite has to be checked out as a subdirectory of llvm/
projects;
2006 Dec 01
1
[LLVMdev] Disable Inlining
I ran the following command:
llvm-gcc -Iinclude -Illvmtest -Wa,-disable-inlining
-Wl,-disable-inlining -c -o llvmtest/sliceme2.bc llvmtest/sliceme2.c
And it responded with the following:
as: unrecognized option `-disable-inlining'
Does -disable-inlining not work anymore?
Thanks,
Ryan
2009 Mar 28
1
[LLVMdev] LLVM test-suite
Thanks for the reply.
Do I check it out under src or build directory ?
I am sure I had all this working fine with no problems 2 years ago.
Aaron
----- Original Message -----
From: Dale Johannesen
To: LLVM Developers Mailing List
Sent: Saturday, March 28, 2009 8:11 PM
Subject: Re: [LLVMdev] LLVM test-suite
On Mar 28, 2009, at 12:56 PM, Aaron Gray wrote:
How do I get the
2006 Dec 01
1
[LLVMdev] crtend
Before upgrading to the latest LLVM today, I used to run the following
command:
llvm-gcc -fno-inline -o __tmp.homer___ llvmtest/sliceme2.bc
-L/home/testbed1/lefever/work/llvm/install/lib -lcrtend
However, it is given the following error.
/usr/bin/ld: cannot find -lcrtend
collect2: ld returned 1 exit status
make: *** [llvmtest/sliceme2.cbc] Error 1
Has the crtend library been moved?
Thanks,
2009 Sep 16
2
[LLVMdev] llc and debug information
Thanks for the quick responses, but unfortunately still no luck:
> llvm-g++ -g -O0 -c -emit-llvm test.cpp
> llc -O0 test.o
> g++ test.o.s
> ./a.out
My return address is 0x400bb2
> addr2line 0x400bb2
??:0
Also to further implicate llc, this works:
> llvm-g++ -g -O0 -S test.cpp
> g++ test.s
> ./a.out
My return address is 0x400bf9
> addr2line 0x400bf9
2005 Mar 09
4
[LLVMdev] Recursive Types using the llvm support library
----- Original Message -----
From: "Chris Lattner" <sabre at nondot.org>
To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
Sent: Tuesday, March 08, 2005 6:31 PM
Subject: Re: [LLVMdev] Recursive Types using the llvm support library
> On Tue, 8 Mar 2005, Vladimir Merzliakov wrote:
>
>>>> An example where something really simple like the
2005 Mar 09
0
[LLVMdev] Recursive Types using the llvm support library
On Wed, 9 Mar 2005, Vladimir Merzliakov wrote:
> I create test program and assert failed in it:
>
> { \2 *, sbyte * }
> Assertion failed: (!NewSTy->isAbstract()), function main, file
> /usr/home/wanderer/work/LLVMTest/obj/../src/tools/tool/Test.cc, line 28.
>
> Testcase source attached.
Thanks, that definitely is a bug. Patch here:
2009 Mar 31
1
[LLVMdev] LLVM test-suite
2009/3/28 Dale Johannesen <dalej at apple.com>:
> The testsuite has to be checked out as a subdirectory of llvm/projects;
> llvm/projects/llvmtest or some such.
> After doing that, you need to re-configure from the top level. There must
> be a working llvm-gcc in your path when you do this.
I've got a makefile that tries to build llvm and llvm-gcc from source,
and then run
2009 Sep 17
0
[LLVMdev] llc and debug information
Nick Jalbert wrote:
> Thanks for the quick responses, but unfortunately still no luck:
>
> > llvm-g++ -g -O0 -c -emit-llvm test.cpp
> > llc -O0 test.o
> > g++ test.o.s
> > ./a.out
> My return address is 0x400bb2
> > addr2line 0x400bb2
> ??:0
>
> Also to further implicate llc, this works:
>
> > llvm-g++ -g -O0 -S test.cpp
>
2009 Mar 28
5
[LLVMdev] LLVM test-suite
How do I get the LLVM test-suite to work I have followed the /docs/TestingGuide.html but cannot seem to get it to work. I have tried many variations, but get no joy. The docmunetation does not appear very clear.
Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090328/e15c2e57/attachment.html>
2006 Dec 02
1
[LLVMdev] invalid bytecode signature
Thank you for the help. There seem to be several things in my makefiles
that are messed up as a result of switching from the gcc3.4 front end to
the gcc4 frontend. Is there any documentation listing the things that
have changed?
Thanks,
Ryan
Ryan M. Lefever [http://www.ews.uiuc.edu/~lefever]
On Fri, 1 Dec 2006, Reid Spencer wrote:
> Hi Ryan,
>
> On Fri, 2006-12-01 at 18:06
2004 Oct 19
2
[LLVMdev] Question about MachineFunction Pass
Hi,
I wrote a machinefunction pass to try to see what's going on. Does it mean that it is target machine dependent pass, like x86? However, after compile it, I found there wasnot command option I registered. I used regular way to do it like RegisterOpt <...> X("... ", "... "), but I cannot see the optimized option when I use opt -load ../../lib/Debug/libxxx.so
2008 Mar 19
6
[LLVMdev] Proposal for GSoC project for improving llvm-test testsuite
hello everybody,
I would like to improve the llvm-test suite[1] as a part of GSoC 2008
program for LLVM.
I have few concerns/problems regarding this, please give me your feedbacks
and suggestions to come up with the proper proposal.
*Goal:* Improve the llvm-test testsuite.
*Idea:* Extend the llvm-test testsuite to include new programs and
benchmarks[2]. Test programs should be more CPU intensive
2016 Jun 15
2
[RFC] LLVM Coroutines
Hi Sanjoy,
>> I'm not familiar with fiber-type APIs, but I assume fiber_fork is like
>> setjmp, in that it can "return twice"?
Yes, user-mode stack switching API are somewhat similar to setjmp. Here are
links to a doc page and implementation, just in case you are curious:
http://www.boost.org/doc/libs/1_59_0/libs/context/doc/html/context/context.html
2002 Dec 06
3
[LLVMdev] Tarjan+function_ptrs == trouble ? (fwd)
Test Cases:
(attached)
Iteration code:
(...)
typedef TarjanSCC_iterator<CallGraph*> MyTarjan;
CallGraph& callGraph = getAnalysis<CallGraph>();
MyTarjan iter = tarj_begin(&callGraph);
MyTarjan end = tarj_end(&callGraph);
while(iter!=end)
iter++;
(...)
if you take the time to print out the function each non-looping node iter
traverses, it never reaches main...
2002 Dec 06
1
[LLVMdev] Tarjan+function_ptrs == trouble ?
Thanks,
I've been through the documentation, and if I visit main, i think
everything will turn out correctly... Printing out the Call graph reveals
that main is calling this external node i think you are making reference
to. Could this be the problem?
Dave
On Fri, 6 Dec 2002, Chris Lattner wrote:
> > if you take the time to print out the function each non-looping node iter
>