Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] LLVM 2.8 released

LLVM 2.8 has been released, which includes full support for C++ and a full libc++ standard library. Unlike GCC, which is GPL, LLVM is under a BSD license and so can be used in tools as a means to compile, parse and introspect code. The AST is traversable via C++ and since it's a modular architecture, the new LLDB debugger also uses the same parser for source code navigation (unlike GDB which has its own parser separate from GCC).

I've written about it at InfoQ:

http://www.infoq.com/news/2010/10/llvm-2.8

but there's more info at the release notes:

http://llvm.org/docs/ReleaseNotes.html#whatsnew

Here's the links to the various sub projects which may be of interest:

http://clang.llvm.org/ - the Clang compiler, for C/C++/Objective-C source
http://clang-analyzer.llvm.org/ - Clang static analyzer for above
http://lldb.llvm.org/ - the LLDB debugger
http://libcxx.llvm.org/ - libc++, the standard library for c++ code
http://klee.llvm.org/ - the KLEE symbolic evaluation engine for code checking

There's a GCC front end to Clang, which gives Clang the appearance of a GCC compiler. That may be useful for hooking it in to CDT.

Alex

Back to the top