commit | a41ce98064f6d67203337762b0e45e75e464ce88 | [log] [tgz] |
---|---|---|
author | Felipe de Azevedo Piovezan <felipepiovezan@users.noreply.github.com> | Mon Oct 02 10:10:11 2023 -0400 |
committer | GitHub <noreply@github.com> | Mon Oct 02 07:10:11 2023 -0700 |
tree | 7f9f125e4eda643b559f4301fb4c44535a30154e | |
parent | aab795a8dccbaf2ee199f2de174263ea4bd44e67 [diff] |
[FastISel][DebugInfo] Handle dbg.value targeting allocas (#67187) FastISel currently drops dbg.values targeting allocas. It may seem surprising that a simple case would fail to be lowered, but dbg.values targeting allocas are not common; we usually have dbg.declares doing that, and those are handled by the common code between FastISel and SelectionDAGISel. This patch addresses the issue by querying the static alloca map from FuncInfo. If we have a frame index for it, we create a DBG_VALUE intrinsic from it.
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.