commit | 04aa5a88d17f5c1cab7acde2e87de05a405e60f1 | [log] [tgz] |
---|---|---|
author | Abid Qadeer <haqadeer@amd.com> | Wed Apr 30 10:25:35 2025 +0100 |
committer | GitHub <noreply@github.com> | Wed Apr 30 10:25:35 2025 +0100 |
tree | 1f6b69dc97b6191329764b10ab5d02af459e6d7b | |
parent | 3e523502a15944c0da8067bad93ab1fc1bac47b7 [diff] |
[OMPIRBuilder] Don't discard the debug record from entry block. (#135161) When we get a function back from `CodeExtractor`, we discard its entry block after coping its instructions into the entry block we prepared. While copying the instructions, the terminator is discarded for obvious reasons. But if there were some debug values attached to the terminator, those are useful and needs to be copied.
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.