commit | f66f2fe0e5be6dc6eb3ef4d42af8692f9adcdc80 | [log] [tgz] |
---|---|---|
author | jeremyd2019 <github@jdrake.com> | Fri May 02 00:58:14 2025 -0700 |
committer | GitHub <noreply@github.com> | Fri May 02 10:58:14 2025 +0300 |
tree | f6727538d5ce4eb6f0ffe8464fd353140c75b2dd | |
parent | a8ec6e8788832cff77ec855a2331438c937fb5da [diff] |
[LLD][COFF] add __{data,bss}_{start,end}__ symbols for Cygwin support (#136180) Cygwin requires these symbols for its fork emulation to know what data to copy into the child. GNU ld defines these symbols for MinGW targets also, so do the same here. Cygwin also has the `.data_cygwin_nocopy` section, which is merged into `.data` outside the `__data_start__` to `__data_end__` range. This excludes it from fork's copying. AFAIK it's only used by the Cygwin DLL itself (which requires a custom linker script to link, that's not supported by LLD), but the section is included in GNU ld's default linker script so handle it here too. Signed-off-by: Jeremy Drake <github@jdrake.com>
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.