<div dir="ltr">Hi Sebastiaan,<div><br></div><div>I'm not the creator of the this GSOC project but I might be able to help. I'm the author of llvm-objcopy, and the soon to be creator of the symlink llvm-strip to llvm-objcopy (which currently doesn't exist). The reason llvm-objcopy and llvm-strip don't have documentation pages is because I haven't written them yet; I'll get on that!<br><br>1. The goal is to work towards extending the existing interfaces so that the existing tools can be used as drop in replacements in more projects. Most tools that have GNU binutils equivalents have some GNU binutil CLI compatible interface. I think llvm-as could probably be extended slowly but surely to be a better more practical replacement for GNU as.<br><br>2. What do you mean? It's already cli compatible.</div><div><br></div><div>3. They exist and are still being worked on! I've just been lazy about documentation. llvm-objcopy is actually the least mature GNU binutils replacement and could use lots more work.<br><br>4. I'm not familiar enough with what people commonly use in bigger builds to say for sure what tools might be missing. In my team's experience llvm-objcopy was the last missing piece which is why I wrote it. If you find some projects that use a tool that is 100% missing, You could work on implementing a small subset of features needed for one of those projects. I think it's more likely that existing tools will need to be extended however.<br><br>5. Well I'm biased of course and would say llvm-objcopy. A better more unbiased answer would be to find a project that currently uses GNU binutils, build it using llvm instead of binutils, and see what fails/breaks. That way you don't go off and arbitrarily extend tool X with obscure feature Y that hardly anyone actually uses.<br><br>I think Eric Christopher is the proposal and confirmed mentor and might have more to say.<br><br>Best,</div><div>Jake</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Mar 16, 2018 at 11:15 AM Sebastiaan Peters via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everyone,<br>
<br>
My name is Sebastiaan Peters, an undergrad student from The Netherlands.<br>
<br>
The project for creating drop-in replacements for GNU Binutils peaked my interest. It would make my day (or my summer) being able to contribute to such a project.<br>
<br>
Since I have no experience with llvm besides some basic usage of clang, the first thing I tried was to find out what llvm tools are out there.<br>
However the more I research the more questions I got.<br>
I would very grateful if somebody could answer some of the following questions:<br>
<br>
1. Does this project apply to all llvm tools, or just those that have intersecting functionality with the existing GNU Binutils?<br>
For instance the llvm-assembler still provides the same functionality, but does will most likely not be a replacement for gnu-as considering the large amount of features it lacks (not being able to accept or target most architectures).<br>
<br>
2. LLD already exists as a drop-in replacement for the GNU linker for compilers[0], would it be desirable if an cli wrapper would be made for this?<br>
<br>
3. What happened to tools like llvm-objcopy and llvm-strip?<br>
Documentation is hard to find and are not included in the llvm tools documentation page[0].<br>
<br>
4. In the case of missing functionality between 2 tools, Is it the goal to patch up what is missing or to go on to the next tool?<br>
<br>
5. Is there a list of preferred tools that should be prioritized?<br>
<br>
Sorry if there is said anything that is incorrect, trying to get a clear picture of the entire project was quite overwhelming.<br>
<br>
Kind Regards,<br>
<br>
Sebastiaan Peters<br>
<br>
[0] <a href="https://lld.llvm.org/" rel="noreferrer" target="_blank">https://lld.llvm.org/</a><br>
[1] <a href="https://llvm.org/docs/CommandGuide/index.html" rel="noreferrer" target="_blank">https://llvm.org/docs/CommandGuide/index.html</a><br>
<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>