Chapter 2. External Projects

Projects that live outside the core LLVM and Clang repositories need to be separately downloaded. In this chapter, we introduce a variety of other official LLVM projects and explain how to build and install them. Readers only interested in core LLVM tools may skip this chapter or come back when required.

In this chapter, we will cover what are and how to install the following projects:

  • Clang extra tools
  • Compiler-RT
  • DragonEgg
  • LLVM test suite
  • LLDB
  • libc++

Beyond the projects covered in this chapter, there are two official LLVM projects outside the scope of this book: Polly, the polyhedral optimizer, and lld, the LLVM linker, which is currently in development.

Prebuilt binary packages do not include any of the external projects ...

Get Getting Started with LLVM Core Libraries now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.