commit | 22dfe9cb589308d94daa00ae533a16a24a012fd9 | [log] [tgz] |
---|---|---|
author | Ely Ronnen <elyronnen@gmail.com> | Sat May 31 08:47:18 2025 +0200 |
committer | GitHub <noreply@github.com> | Sat May 31 08:47:18 2025 +0200 |
tree | 044d5942279cfc71194cc7a5b079054ee078137c | |
parent | ad0a52202e4cfe474f341861d753f78d1603f7e3 [diff] |
[lldb-dap] Reuse source object logics (#141426) Refactor code revolving source objects such that most logics will be reused. The main change is to expose a single `CreateSource(addr, target)` that can return either a normal or an assembly source object, and call `ShouldDisplayAssemblySource()` only from this function instead of multiple places across the code. Other functions can use `source.IsAssemblySource()` in order to check which type the source is.
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.