Google Summer of Code 2016 | LLVM

Hi,

I am a graduate student in computer science.I have taken a programming languages course this semester and I am having great fun building interpreters.I am planning to build toy compilers in the winter.I would love to participate in GSOC 2016 contributing to LLVM.Could anyone let me know desirable skills should be developed to contribute to LLVM ? Also I would like to know the open projects in LLVM for Google Summer Of Code 2016.

Regards,

Aswin.

What skills you need for GSoC depends entirely upon what sort of LLVM-based projects you want to do. Many LLVM-based projects requiring knowing how to write LLVM passes and doing either analysis or optimization on the LLVM IR. For such projects, I’d recommend learning how to write an LLVM pass (which is well documented at . However, some GSoC students work on Clang (and therefore need to understand how to analyze and manipulate Clang’s AST). Others may work on the code generator portions of LLVM (which requires understanding the MachineInstr IR or the MC layer). I recommend that you learn whatever interests you. When it comes time to worry about GSoC, you can then suggest a project that leverages what you’ve learned. As far as GSoC projects, I think it’s too early to have a list of those up yet. I think we’ll have a more up-to-date list in the spring. That said, if you’re looking for projects, you can look at the open projects page at . Fixing open bugs in the LLVM and Clang bug database would also be a good way to start learning about Clang and LLVM. You can also look at LLVM sub-projects such as lldb, ldb, and Polly. As for myself, I tend to mentor projects that instrument programs in some way (usually to improve their security, but I’ve also mentored a performance-bug finding tool). You can read about my work (nearly all of which uses LLVM) on my publications page at to get a sense of the sorts of things that interest me. In a nutshell, I like security, and I like using compilers to change operating system kernel code. Regards, John Criswell

Could anyone let me know desirable skills should be developed to contribute to LLVM

I’m pretty sure we don’t require an arbitrary set of skills for you to contribute to LLVM. :slight_smile: Given that LLVM is largely a C++ project, having solid background in C++ would certainly help. If you haven’t worked with LLVM before (e.g. in your compilers class), the following resources are really helpful:

As far as contributing to LLVM itself, send out a patch that fixes a problem and ask people to review it. If you have no clue where to start, find open+unassigned bugs in the bugtracker (https://llvm.org/bugs/), pick an unassigned one, and try to fix it. There’s also probably random “we’d like to see this feature” notes scattered about in docs for e.g. clang-tidy, if you’re open to contributing to tooling/if you’d prefer to add new features rather than fixing old ones. If you have short/targeted questions, IRC (LLVM Project on OFTC) tends to be a good place to ask.

Have fun!
George