Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Using Clang LTO/gold plugin to build clang"
2012 Oct 17
0
[LLVMdev] Using Clang LTO/gold plugin to build clang
Two suggestions:
- Use a 64-bit operating system.
- You could disable the LTO optimizations by commenting out a few
lines in tools/lto/LTOCodeGenerator.cpp to determine if the problem is
a pass or with LTO itself.
On Wed, Oct 17, 2012 at 10:38 AM, Sahoo, Swarup Kumar
<ssahoo2 at illinois.edu> wrote:
> Hi,
>
> I was trying to build clang (svn head version) using clang-3.1
2010 Mar 10
4
[LLVMdev] glod plugin use
Hi,
I was trying to use gold plugin to compile and run some of my passes on some large softwares like mysql, apache etc. When I compile using llvm-gcc, everything works fine. But, when I followed the instructions on http://llvm.org/docs/GoldPlugin.html#build to use gold plugin, I got errors like:
/home/vadve/ssahoo2/local/bin/ld: error: modules/standard/libstandard.a: no archive symbol table
2010 Mar 11
0
[LLVMdev] glod plugin use
Swarup Kumar Sahoo wrote:
> Hi,
> I was trying to use gold plugin to compile and run some of my passes on some large softwares like mysql, apache etc. When I compile using llvm-gcc, everything works fine. But, when I followed the instructions on http://llvm.org/docs/GoldPlugin.html#build to use gold plugin, I got errors like:
>
> /home/vadve/ssahoo2/local/bin/ld: error:
2010 Mar 11
2
[LLVMdev] gold plugin use
---- Original message ----
>Date: Wed, 10 Mar 2010 22:09:22 -0800
>From: Nick Lewycky <nicholas at mxc.ca>
>Subject: Re: [LLVMdev] glod plugin use
>To: Swarup Kumar Sahoo <ssahoo2 at illinois.edu>
>Cc: llvmdev at cs.uiuc.edu, Rafael Espindola <espindola at google.com>
>
>Swarup Kumar Sahoo wrote:
>> Hi,
>> I was trying to use gold plugin
2014 Jan 03
2
[LLVMdev] Tracing values in llvm IR
You will have to insert callinst to tracing functions immediately after the value is produced, not at the entry points. Giri code has many such examples of how to do this.
Thanks,
Swarup.
________________________________
From: llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] on behalf of Jin Huang [54jin.huang at gmail.com]
Sent: Thursday, January 02, 2014 9:47 PM
To: llvmdev at
2014 Aug 18
2
[LLVMdev] generating a dynamic callgraph with llvm-prof
Yes, the latest version can be downloaded from here https://github.com/liuml07/giri . The LLVM instrumentation code is in TracingNoGiri.cpp<https://github.com/liuml07/giri/blob/master/lib/Giri/TracingNoGiri.cpp> file and runtime code in Tracing.cpp.
You may need to delete other unnecessary instrumentation code which you don't need.
Thanks,
Swarup.
________________________________
2014 Jan 03
2
[LLVMdev] Tracing values in llvm IR
Thank you , James.
But this way needs to determine whether the instruction is a LOAD/STORE
,and if I want to preserve the operations on these variables for further
dynamic symbolic execution usage(just like KLEE ,but it's a static analysis
,not dynamic),I had to backtrace instructions ,this may be not very
efficient if the operation is very complex!
-Jin Huang
2014/1/3 Jin Huang
2014 Jan 02
2
[LLVMdev] Tracing values in llvm IR
Hi Jin Huang,
The updated Giri code is available at https://github.com/liuml07/giri<https://github.com/liuml07/giri.>. This will give you an idea of how to instrument the program to trace different values. You can modify the code to achieve your goals.
-Swarup.
________________________________
From: Criswell, John T
Sent: Thursday, January 02, 2014 2:12 PM
To: Jin Huang; llvmdev at
2010 Mar 11
3
[LLVMdev] gold plugin use
>
>> Yes, ar and nm actually take -plugin option and if I pass this option, then I don't get these errors. But, llvm-gcc doesn't automatically pass this option to ar.
>
>You probably just need to copy the gold plugin to
>$PREFIX/lib/bfd-plugins. Let me know if that works. If not I will
>check if there is a bug in the plugin search in binutils.
There is no problem in
2012 Sep 13
2
[LLVMdev] Dominance frontier & Postdominance frontier
Hi,
I found that LLVM 3.1 says Dominance frontier is deprecated. Can anyone please tell me, if there is any replacement for Dominance frontier & Postdominance frontier in LLVM? What are the options if we need to use them?
Thanks,
Swarup.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Mar 11
0
[LLVMdev] gold plugin use
Swarup Kumar Sahoo wrote:
>>> Yes, ar and nm actually take -plugin option and if I pass this option, then I don't get these errors. But, llvm-gcc doesn't automatically pass this option to ar.
>>>
>> You probably just need to copy the gold plugin to
>> $PREFIX/lib/bfd-plugins. Let me know if that works. If not I will
>> check if there is a bug in
2015 Feb 10
2
[LLVMdev] llvm-link deprecated in favor of gold plugin?
Following on from my last question, based on such information as I've been
able to find on Google, I get the impression llvm-link is effectively
deprecated / not actively maintained, because the focus of whole-program
optimization is now on the gold plugin. Is that the case, or am I missing
something?
Running searches over the source tree, it seems the Linker class that
actually implements
2015 Feb 10
2
[LLVMdev] llvm-link deprecated in favor of gold plugin?
Ah! Okay. A quick test of llvm-lto gets an error:
llvm-lto: error adding file 'main.bc': Linking COMDATs named
'??_7_Iostream_error_category at std@@6B@': invalid selection kinds!
Would it be the case that llvm-lto is also deprecated in favor of the gold
plugin?
On Tue, Feb 10, 2015 at 4:47 PM, Teresa Johnson <tejohnson at google.com>
wrote:
> LTOCodeGenerator is used
2006 Dec 01
1
[LLVMdev] DSGraph::computeCalleeCallerMapping failing
I was trying to call "DSGraph::computeCalleeCallerMapping" function on all caller-calle pair. But, in one case it gives an assertion failure. This is the error message I get.
Processing internal callee function rt_error
opt: /localhome/ssahoo2/llvm/src/lib/Analysis/DataStructure/DataStructure.cpp:2248: static void llvm::DSGraph::computeNodeMapping(const llvm::DSNodeHandle&, const
2010 Mar 11
0
[LLVMdev] gold plugin use
> Yes, ar and nm actually take -plugin option and if I pass this option, then I don't get these errors. But, llvm-gcc doesn't automatically pass this option to ar.
You probably just need to copy the gold plugin to
$PREFIX/lib/bfd-plugins. Let me know if that works. If not I will
check if there is a bug in the plugin search in binutils.
Cheers,
--
Rafael Ávila de Espíndola
2016 Aug 09
2
[LTO] Bypass the integrated assembler ...
> On Aug 9, 2016, at 9:24 AM, Kevin Choi via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> -Wl,--plugin=LLVMgold.so,--plugin-opt=emit-llvm
This is totally Gold specific. The fact that he mentions using LTOCodeGenerator makes me think that he does not use Gold.
>
> http://llvm.org/docs/CommandGuide/opt.html <http://llvm.org/docs/CommandGuide/opt.html>
>
2016 Aug 09
2
[LTO] Bypass the integrated assembler ...
Hi Guys ,
We enabled the LTO on our code base and found that LTO uses the
integrated/builtin assembler to emit the final optimized code .O
(FileType= CGFT_ObjectFile) .
Can we bypass this semantic ,for something like you emit .S file
(FileType=CGFT_AssemblyFile),
Then we pass this .S file to our native assembler and the linker
.....any switch/ options do so ?
i.e something like as we have
2015 Sep 16
3
RFC: LTO should use -disable-llvm-verifier
On Tue, Sep 15, 2015 at 3:31 PM, Duncan P. N. Exon Smith via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
>> On 2015-Sep-02, at 19:31, Peter Collingbourne <peter at pcc.me.uk> wrote:
>>
>> On Thu, Sep 03, 2015 at 01:10:42AM +0000, Eric Christopher wrote:
>>> On Tue, Sep 1, 2015 at 10:43 AM Duncan P. N. Exon Smith <
>>> dexonsmith at
2015 Sep 16
5
RFC: LTO should use -disable-llvm-verifier
> On Sep 16, 2015, at 9:45 AM, Teresa Johnson via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> On Wed, Sep 16, 2015 at 7:47 AM, Teresa Johnson <tejohnson at google.com> wrote:
>> On Tue, Sep 15, 2015 at 3:31 PM, Duncan P. N. Exon Smith via llvm-dev
>> <llvm-dev at lists.llvm.org> wrote:
>>>
>>>> On 2015-Sep-02, at 19:31, Peter
2020 Sep 24
2
How lld invoke LTO or thinLTO and is there some cases and some method to get the step-by-step message for me to understand how LTO worked?
Hi:
I want to learn how LTO and thinLTO work? But I'm confused how lld invoked either library. How can I find it in lld. Should i be familiar with lld source code? And i also think if there is some easy test case and with step-by- step debugging or some log messages can help me learn this? Is there some method can do stuff like this?
Thank you very