[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cdt-dev] LLVM 2.8 released
- From: Alex Blewitt <alex.blewitt@xxxxxxxxx>
- Date: Thu, 7 Oct 2010 09:58:34 +0100
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=JZkS9Oo5CeEU3t5neA74zjjW5brWG9J2I+xdWJbL9XEeUMdZj6WwycnMwBGdjCWsqB CBHLBOPBFlnZQwmIiBM+kXFTfquCkYeOgErigMjOGJQ4SEINAIQsX9J8WFN9SqcJ5xdz W2JniYgswpg8ZX9pqQgY0zVmkaz7mMoOCOZ2Y=
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:
but there's more info at the release notes:
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.