Hacker News new | ask | show | jobs
by kelnos 48 days ago
GCC far far far predates LLVM. They do not share code.
1 comments

The libsanitizer library is imported from the LLVM sources into the GCC source tree. There are probably more examples of code sharing. Both projects are quite large.
I would assume the code sharing is one-way only due to the licenses. I.e. a GPL project can use MIT licensed code, but not vice versa (AFAIK).