Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] whole program bitcode and gold plugin"
2010 Aug 31
0
[LLVMdev] What are the optimizations that gold uses during the final link stage?
On 19 August 2010 01:25, Guoliang Jin <jingl1345 at gmail.com> wrote:
> Hi,
>
> I am using gold plugin with the option "-use-gold-plugin
> -Wl,-plugin-opt=also-emit-llvm" to compile apache.
>
> I objdumped the final executable httpd to httpd.S.
>
> I also compiled those per file bytecode into native code using the
> following:
> llc filename.o
>
2010 Aug 19
2
[LLVMdev] What are the optimizations that gold uses during the final link stage?
Hi,
I am using gold plugin with the option "-use-gold-plugin
-Wl,-plugin-opt=also-emit-llvm" to compile apache.
I objdumped the final executable httpd to httpd.S.
I also compiled those per file bytecode into native code using the
following:
llc filename.o
llvm-gcc -c filename.o.s -o filename.o.o
Then I objdumped filename.o.o to filename.o.S and compared some
functions between
2009 Oct 15
1
[LLVMdev] [Fwd: Re: strace for whole-program bitcodes]
>>> someone suggested me to use gold-plugin, I know nothing about it yet, I
>will
>>> have a try later. Does anyone have a good solution for this problem?
>>
>> Afaik gold does not help here. I tried it and managed to only generate
>> native code.
>
>"Just" gold isn't quite good enough, because at the last final link
>steps gold will
2010 Jun 06
2
[LLVMdev] Error while compiling mysql using LLVM-gold
The errors are
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found
/lib/libc.so.6: version `GLIBC_2.7' not found
I can not use it in the command line...
Rafael Espindola wrote:
>> However, I got
>> "...
>> checking for gcc... llvm-gcc -use-gold-plugin
>> checking for C compiler default output file name...
>> ...
>> configure: error: C
2009 Oct 16
2
[LLVMdev] strace for whole-program bitcodes
Daniel Dunbar wrote:
> On Thu, Oct 15, 2009 at 7:14 AM, Timo Juhani Lindfors
> <timo.lindfors at iki.fi> wrote:
>> Tianwei <tianwei.sheng at gmail.com> writes:
>>> someone suggested me to use gold-plugin, I know nothing about it yet, I will
>>> have a try later. Does anyone have a good solution for this problem?
>> Afaik gold does not help here. I
2009 Oct 30
2
[LLVMdev] strace for whole-program bitcodes
--emit-llvm??
On Fri, Oct 30, 2009 at 7:55 AM, Viktor Kutuzov
<vkutuzov at accesssoftek.com>wrote:
> Hello everyone,
>
> I'm working on passing parameters for gold/LTO plug-in and could add this
> one as well.
> Just need an option name. Could anybody suggest one?
>
> Viktor
>
> ----- Original Message -----
> From: "Nick Lewycky" <nicholas at
2009 Oct 29
0
[LLVMdev] strace for whole-program bitcodes
Hello everyone,
I'm working on passing parameters for gold/LTO plug-in and could add this one as well.
Just need an option name. Could anybody suggest one?
Viktor
----- Original Message -----
From: "Nick Lewycky" <nicholas at mxc.ca>
To: "Daniel Dunbar" <daniel at zuster.org>
Cc: "Kelly, Terence P (HP Labs Researcher)" <terence.p.kelly at
2010 Aug 31
2
[LLVMdev] What are the optimizations that gold uses during the final link stage?
On Aug 31, 2010, at 9:54 AM, Rafael Espindola wrote:
> On 19 August 2010 01:25, Guoliang Jin <jingl1345 at gmail.com> wrote:
>> Hi,
>>
>> I am using gold plugin with the option "-use-gold-plugin
>> -Wl,-plugin-opt=also-emit-llvm" to compile apache.
>>
>> I objdumped the final executable httpd to httpd.S.
>>
>> I also compiled
2009 Oct 30
0
[LLVMdev] strace for whole-program bitcodes
--emit-llvm, if not conflict
>>> Paul Davey <plmdvy at gmail.com> 10/30/2009 11:11 AM >>>
--emit-llvm??
On Fri, Oct 30, 2009 at 7:55 AM, Viktor Kutuzov <vkutuzov at accesssoftek.com> wrote:
Hello everyone,
I'm working on passing parameters for gold/LTO plug-in and could add this one as well.
Just need an option name. Could anybody suggest one?
Viktor
2010 Jun 06
1
[LLVMdev] Error while compiling mysql using LLVM-gold
Some things to check:
Run llvm-gcc a.c -emit-llvm -use-gold-plugin -Wl,debug
This will print the link command line. What is it? Do you get the same error
messages if you run just that?
Are gold and the plugin linked with the same libstdc++?
Cheers
On Jun 5, 2010 11:50 PM, "Guoliang Jin" <jingl1345 at gmail.com> wrote:
The errors are
/usr/lib/libstdc++.so.6: version
2010 Jul 20
2
[LLVMdev] gold and debug information
Hi,
I would like to get the whole program bitcode with debug information in it.
I tried to use CFLAGS = "-O4 -g", but it ends with the following error:
collect2: ld terminated with signal 6 [Aborted]
Unknown constant!
UNREACHABLE executed at
/local.toadette/aliang/fixing/llvm-2.7/llvm-2.7/lib/Bitcode/Writer/BitcodeWriter.cpp:895!
What is the right way to get a whole program bitcode
2010 Jul 22
1
[LLVMdev] gold and debug information
On Thu, Jul 22, 2010 at 1:21 PM, Jin Guoliang <jingl1345 at gmail.com> wrote:
> On Thu, Jul 22, 2010 at 11:35 AM, Devang Patel <devang.patel at gmail.com>wrote:
>
>> On Wed, Jul 21, 2010 at 9:50 AM, Jeffrey Yasskin <jyasskin at google.com>
>> wrote:
>> >> This (Unknown constant! in bitcode writer when -g is used) is a known
>> >> bug in
2010 Jul 20
0
[LLVMdev] gold and debug information
On Mon, Jul 19, 2010 at 11:06 PM, Guoliang Jin <jingl1345 at gmail.com> wrote:
> Hi,
>
> I would like to get the whole program bitcode with debug information in it.
>
> I tried to use CFLAGS = "-O4 -g", but it ends with the following error:
> collect2: ld terminated with signal 6 [Aborted]
> Unknown constant!
> UNREACHABLE executed at
>
2010 Jun 06
0
[LLVMdev] Error while compiling mysql using LLVM-gold
Thanks Rafael.
I compiled llvm-gcc by myself, and I can compile mysql now.
Right now, when I run llvm-gcc a.c -emit-llvm -use-gold-plugin -Wl,debug
I got
ld: error: cannot open debug: No such file or directory
collect2: ld returned 1 exit status
I do not know why this is happening.
Rafael Espindola wrote:
>
> Some things to check:
>
> Run llvm-gcc a.c -emit-llvm -use-gold-plugin
2010 Jun 06
2
[LLVMdev] Error while compiling mysql using LLVM-gold
Hello,
I am trying to compile mysql using LLVM and I am found the following
"If you just want to use *LLVM*'s link-time optimizations, you will need to
use the libLTO library with your linker. Your linker, in turn, must be
able to support plugins (like the gold linker, for example). For
directions on how to set up libLTO, see
http://*llvm*.org/docs/LinkTimeOptimization.html
2010 Jun 06
2
[LLVMdev] Error while compiling mysql using LLVM-gold
On 6 June 2010 13:48, Guoliang Jin <jingl1345 at gmail.com> wrote:
> Thanks Rafael.
>
> I compiled llvm-gcc by myself, and I can compile mysql now.
>
> Right now, when I run llvm-gcc a.c -emit-llvm -use-gold-plugin -Wl,debug
> I got
> ld: error: cannot open debug: No such file or directory
> collect2: ld returned 1 exit status
>
> I do not know why this is
2010 Jul 22
2
[LLVMdev] gold and debug information
On Wed, Jul 21, 2010 at 9:50 AM, Jeffrey Yasskin <jyasskin at google.com> wrote:
>> This (Unknown constant! in bitcode writer when -g is used) is a known
>> bug in CloneModule, because it is not cloning MDNodes appropriately.
>
> What's the link to the bug report? Are you fixing it?
PR 7689. Fixed in r109117.
-
Devang
2010 Jul 07
3
[LLVMdev] passing parameters for a analysis pass
Hi,
I want to pass parameter to a analysis pass. My pass need to use some
result from some other tools. I can hard code a file name into my pass,
and let my pass read input there, but what if I do not want the file
name to be hard coded?
Is it possible to do that? If yes, where can I find some documentation
about it?
Thanks,
Guoliang
2010 Jul 22
0
[LLVMdev] gold and debug information
On Thu, Jul 22, 2010 at 11:35 AM, Devang Patel <devang.patel at gmail.com>wrote:
> On Wed, Jul 21, 2010 at 9:50 AM, Jeffrey Yasskin <jyasskin at google.com>
> wrote:
> >> This (Unknown constant! in bitcode writer when -g is used) is a known
> >> bug in CloneModule, because it is not cloning MDNodes appropriately.
> >
> > What's the link to the
2012 May 23
3
[LLVMdev] problem on clang+gold
Hi there,
I compiled clang+gold using a gcc under path /s/gcc-4.3.1/bin/. Later on
I do configure and make for flex-2.5.35, and the following command is
invoked:
"/path/to/my/gold/ld" --hash-style=gnu --no-add-needed --eh-frame-hdr -m
elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o flex
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../crt1.o