[llvm-dev] [RFC] Refactor llvm-dwp in to a library.
David Blaikie via llvm-dev
llvm-dev at lists.llvm.org
Mon Jun 21 18:17:00 PDT 2021
I'm OK-ish with this, though I will warn you, llvm-dwp is not, in my
opinion (as the author of it), the best foundation for this sort of thing.
In particular it uses significantly more memory (& probably CPU) than
gold's dwp tool - building more things on top of this before addressing
some of those scalability issues will build more technical debt that'll
need to be paid down at some point. If you plan to use this in a production
use case, I'd strongly encourage you to invest some time in improvements to
llvm-dwp's scalability first, to create a better foundation to build on top
of. I'm happy to help with/advise on that work.
On Mon, Jun 21, 2021 at 6:11 PM Alexander Yermolovich <ayermolo at fb.com>
> I am working on adding support for bolt (
> https://github.com/facebookincubator/BOLT/tree/rebased) to write out DWP
> directly. I want to re-use as much llvm-dwp functionality as possible.
> Plan is to move most of functionality that is now in llvm-dwp in to
> llvm/lib/DWP, with corresponding header file in llvm/include/llvm/DWP.
> In the header files have
> For structs that are passed around define in the header also.
> Thought I would solicit opinions before I dive too deep into this.
> Thank You
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev