commit | 762cb1d377362daff234ac5172c2c1db4918f6d3 | [log] [tgz] |
---|---|---|
author | Martin Braenne <[email protected]> | Thu Jun 15 19:07:05 2023 |
committer | Martin Braenne <[email protected]> | Mon Jun 19 08:37:41 2023 |
tree | 319581f06e375eac622f6d46e1eb1170b9e012e3 | |
parent | 5a8fc419379faa517e614c55b0b27de59572019d [diff] |
[clang][dataflow] Create `Value`s for integer literals. This patch includes a test that fails without the fix. I discovered that we weren't creating `Value`s for integer literals when, in a different patch, I tried to overwrite the value of a struct field with a literal for the purposes of a test and was surprised to find that the struct compared the same before and after the assignment. This functionality therefore seems useful at least for tests, but is probably also useful for actual analysis of code. Reviewed By: ymandel, xazax.hun, gribozavr2 Differential Revision: https://reviews.llvm.org/D152813
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, or #llvm IRC channel on OFTC.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.