commit | 710290cecce74da1368675ff3686a25037045246 | [log] [tgz] |
---|---|---|
author | Shubham Sandeep Rastogi <srastogi22@apple.com> | Wed Apr 05 09:05:06 2023 -0700 |
committer | Shubham Sandeep Rastogi <srastogi22@apple.com> | Wed Apr 26 16:19:53 2023 -0700 |
tree | b19304146f3deb89f78f0974046ede4eef4fd44e | |
parent | fe8eab468eee18329922901bcf74310534e08b59 [diff] |
Emit unwind information in .debug_frame section when .cfi_sections .debug_frame intrinsic is used The .cfi_sections .debug_frame intrinsic is used to emit .debug_frame section. This directive tells the assembler to write out a section of debug frame data. AArch64 is a platform where eh_frame is not needed for unwind information. Unfortunately, that means that even when the .cfi_sections .debug_frame intrinsic is used, the compiler skips emitting the CIE's and FDE's in the debug_frame section. This patch address that issue by making sure that the emission of CIE's and FDE's are only skipped if the unwind information does not require a debug_frame section and is a platform where the eh_frame can be skipped. Differential Revision: https://reviews.llvm.org/D147980
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.