Displaying 5 results from an estimated 5 matches for "ep_fulllinktimeoptimizationlast".
2020 Mar 09
2
llvm-link has no --allow-multiple-definition
Hi Eli,
I know the page, and the only mentioning about LTO or link time
optimization I found is the option
PassManagerBuilder::EP_FullLinkTimeOptimizationLast - and nobody knows
how this works (and asked about it on this list too before with no
reply), and the author who wrote that part in the llvm code at Redhat
did not reply to a question how to actually use it. And there is no
example code or any code using this option anywhere on the Internet I
could...
2020 Mar 10
3
llvm-link has no --allow-multiple-definition
...:
> If you want to load a pass plugin into lld, you need to write something like " -Wl,-mllvm=-load=plugin.so". Granted, that doesn't actually work on trunk at the moment; posted https://reviews.llvm.org/D75879 .
>
> Once you actually have the plugin loaded into the linker, EP_FullLinkTimeOptimizationLast should work.
>
> -Eli
>
>> -----Original Message-----
>> From: Marc <mh at mh-sec.de>
>> Sent: Monday, March 9, 2020 2:26 PM
>> To: Eli Friedman <efriedma at quicinc.com>
>> Cc: llvm-dev <llvm-dev at lists.llvm.org>
>> Subject: [EXT]...
2020 Apr 20
2
How to optimize a large project in llvm pass?
Hi,
I have written MyPass.cpp and I use "EP_FullLinkTimeOptimizationLast".
I compile it and get libMypass.so.
MyPass.so rely on some other code, such as,Init.c and Helper.c.
So, I use following commands to get a static library libmypass-rt.a.
"
$ clang -fsanitize=safe-stack -c -emit-llvm -fpic -Wall -Wextra -O2 -I
../include -o obj/helpers.o helpers.c
$ clang...
2020 Mar 08
2
llvm-link has no --allow-multiple-definition
Hello,
I am developing an LTO instrumentation of programs for fuzzing (for
afl++) and I run into the following problem:
a lot of open source program have multiple definitons of the same
functions. In normal compile mode this is not a problem, however with
LTO this only works with the linker option:
-Wl,--allow-multiple-definition
Now to be able to instrument (it is an "opt"
2020 Apr 22
3
how to add my own passes to LTO pass
Hi,
I have a module pass and I hope to use it to optimize a real-world program.
I need LTO,and I have got LTO plugin.
But How can I add my passes to LTO Pass. I can't find solution.
What should I do?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200422/76d2b046/attachment.html>