| commit | 47dbf359041299c5f19f82e7204c6c9675b6e69a | [log] [tgz] |
|---|---|---|
| author | Thurston Dang <thurston@google.com> | Tue Nov 26 14:58:44 2024 -0800 |
| committer | GitHub <noreply@github.com> | Tue Nov 26 14:58:44 2024 -0800 |
| tree | 6438dc4767aeb8b5c0ee7bd084150c48e27b8c1e | |
| parent | 39601a6e5484de183bf525b7d0624e7890ccd8ab [diff] |
Reapply "[NFC][clang] Add ubsan-trap-merge.c test to show absence of nomerge" (#117804) (#117805) This reverts commit c8bdb31ff66e8934060c60816c57925fdec42a2c. It was reverted because I forgot to update the auto-generated assertions after adding the target triple. Original commit message: This test (copied from https://github.com/llvm/llvm-project/pull/83470) demonstrates that UBSan does not add the nomerge annotation. This is significant because it can result in them being merged by the backend, even when -ubsan-unique-traps is enabled. N.B. https://github.com/llvm/llvm-project/pull/65972 (continuation of https://reviews.llvm.org/D148654) had considered adding nomerge to ubsantrap, but did not proceed with that because of https://github.com/llvm/llvm-project/issues/53011. https://github.com/llvm/llvm-project/pull/101549 fixed that limitation ("It sets nomerge flag for the node if the instruction has nomerge arrtibute."); planned upcoming work (https://github.com/llvm/llvm-project/pull/117651) will add nomerge for ubsan.
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.