| commit | adaa603224fee842b4f71824617adb3b0c7d9cf1 | [log] [tgz] |
|---|---|---|
| author | Ellis Hoag <ellis.sparky.hoag@gmail.com> | Fri Oct 11 11:53:44 2024 -0700 |
| committer | GitHub <noreply@github.com> | Fri Oct 11 11:53:44 2024 -0700 |
| tree | 8422ff06a8204c077a0f1995051a4d973f160e04 | |
| parent | 31b85c6ead3e0e2979272046548f3ae8a51db289 [diff] |
[MachineVerifier] Report errors from one thread at a time (#111605) Create the `ReportedErrors` class to track the number of reported errors during verification. The class will block reporting errors if some other thread is currently reporting an error. I've encountered a case where there were many different verifications reporting errors at the same time on different threads. This ensures that we don't start printing the error from one case until we are completely done printing errors from other cases. Most of the time `AbortOnError = true` so we usually abort after reporting the first error. Depends on https://github.com/llvm/llvm-project/pull/111602.
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.