commit | 4b077ed58e3b61e29ae2dbc157fc8122fda1f36c | [log] [tgz] |
---|---|---|
author | Keith Smiley <keithbsmiley@gmail.com> | Thu Apr 04 15:10:52 2024 -0700 |
committer | GitHub <noreply@github.com> | Thu Apr 04 15:10:52 2024 -0700 |
tree | afdc9f2434da591ed8ab754d452b098f9afe395f | |
parent | 75e7e7d327e0458b151fbe1e6b3a9ac0a5081f76 [diff] |
[bazel] Add support for building lldb (#87589) This adds build configuration for building LLDB on macOS and Linux. It uses a default subset of features that should work out of the box with macOS + Ubuntu. It is notably missing python support right now, although some of the scaffolding is there, because of the complexity of linking a python dylib, especially if you plan to distribute the resulting liblldb.so. Most of this build file is pretty simple, one of the unfortunate patterns I had to use was to split the header and sources cc_library targets to break circular dependencies.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.