commit | 165acd3734b0bd04c5ae01f62cf01b5240606410 | [log] [tgz] |
---|---|---|
author | Quinton Miller <nicetas.c@gmail.com> | Sun Apr 27 03:47:09 2025 +0800 |
committer | GitHub <noreply@github.com> | Sat Apr 26 21:47:09 2025 +0200 |
tree | 0254a65721d79e96a296ac5bb3d56c462f8335dd | |
parent | 419a2cb218245b90ace9e0a460d94057e7091002 [diff] |
[LLVM-C] Support debug info for enumerators of arbitrary sizes (#76735) Since `LLVMDIBuilderCreateEnumerator` only supports up to 64 bits, this PR adds a new `LLVMDIBuilderCreateEnumeratorOfArbitraryPrecision` function that takes an arbitrary number of words, based on `LLVMConstIntOfArbitraryPrecision`. This allows even larger enumeration types to represent their values exactly. (It seems LLVM should already support i128 enums since 13.0.0.)
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.