The devel/llvm port

llvm-13.0.0p3 – modular, fast C/C++/ObjC compiler, static analyzer and tools (cvsweb github mirror)

Description

The LLVM Project is a collection of modular and reusable compiler
and toolchain technologies. Despite its name, LLVM has little to
do with traditional virtual machines, though it does provide helpful
libraries that can be used to build them.

This package includes the LLVM Core and the Clang compiler suite.

The LLVM Core libraries provide a modern source- and target-independent
optimizer, along with code generation support for various popular CPUs
(i386, amd64, powerpc and arm are major targets). These libraries are
built around a well specified code representation known as the LLVM
intermediate representation ("LLVM IR"). The LLVM Core libraries are
well documented, and it is particularly easy to invent your own language
(or port an existing compiler) to use LLVM as an optimizer and code
generator.

Clang is an "LLVM native" C/C++/Objective-C compiler, which aims
to deliver fast compiles, extremely useful error and warning messages
and to provide a platform for building great source level tools.
The Clang Static Analyzer is a tool automatically finds bugs in
your code, and is a great example of the sort of tool that can be
built using the Clang frontend as a library to parse C/C++ code.
WWW: https://www.llvm.org/

Readme

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

For more information about using scan-build for the static analyser,
look at:
	http://clang-analyzer.llvm.org/scan-build.html

For instance, the scanner on the kernel build can be launched with:

	cd /usr/src/sys/arch/`uname -m`/conf && config GENERIC.MP
	cd /usr/src/sys/arch/`uname -m`/compile/GENERIC.MP
	make clean && scan-build make

This will generate HTML reports in /tmp/scan-build-(date).

Maintainer

Jeremie Courreges-Anglas

Multi-packages

llvm-13.0.0p3 py3-llvm-13.0.0 lldb-13.0.0

Only for arches

aarch64 amd64 arm i386 mips64 mips64el powerpc powerpc64 riscv64 sparc64

Categories

devel lang/python

Build dependencies

Run dependencies

Test dependencies

Reverse dependencies

Search