commit | 15c49b9db3f60bdbd320271d5e97f118c00b95dd | [log] [tgz] |
---|---|---|
author | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | Fri Feb 28 15:59:05 2025 +0800 |
committer | Chuanqi Xu <yedeng.yd@linux.alibaba.com> | Fri Feb 28 16:03:50 2025 +0800 |
tree | 560baab2f5b498ad2264ddc05fc97c23f4a7307f | |
parent | 44b9f5eeab63dbf7d4e4ebc87dfedca5c42708b6 [diff] |
[Coroutines] [CodeGen] Don't change AST in CodeGen/Coroutines The root source of other odd bugs. We performed a hack in CodeGen/Coroutines. But we didn't recognize that the CodeGen is a consumer of AST. The CodeGen shouldn't change AST in any ways. It'll break the assumption about the ASTConsumer in Clang's framework, which may break any other clang-based tools which depends on multiple consumers to work together. The fix here is simple. But I am not super happy about the test. It is too specific and verbose. We can remove this if we can get the signature of the AST in ASTContext.
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.