[llvm-dev] lld based tool

Rui Ueyama via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 25 11:19:18 PDT 2019


Hi Alexander,

Could you explain a little bit more about what you are trying to achieve?
Most of the input files given to a linker is obvious -- if a command line
argument does not start with dash and if is not an argument for an option,
it is a filename. So I'm guessing you want to resolve library file names
given by -l. Am I correct?

On Mon, Mar 25, 2019 at 11:14 AM Alexander Linne via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hello,
>
> i am currently trying to write a tool based on lld. Specifically I want
> to parse a ld command line to determine the input and output files and
> the kind of each input file given a ld command line.
> Unfortunately, the ELF linker does not expose any API to just parse the
> command line.
> My question: if I would refactor this module to expose such an API,
> would this have any chance of being merged back into the official
> repository?
>
> Regards
>
> Alexander Linne
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190325/d3fc2737/attachment.html>


More information about the llvm-dev mailing list