[PATCH] D142453: [AMDGPU][MC] Generate relative relocations for allocatable (more particularly, eh_frame) sections
Juan Manuel Martinez CaamaƱo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 30 04:09:35 PST 2023
jmmartinez added a comment.
In D142453#4086520 <https://reviews.llvm.org/D142453#4086520>, @arsenm wrote:
> Can you also add a codegen test that hits this?
Unfortunately, there is no codegen path for this (for the moment).
This patch is related to the work I started in https://reviews.llvm.org/D139024, which forces the emission of CFI entries in the `.eh_frame` section for functions with the `uwtable` attribute.
The problem is that without this patch https://reviews.llvm.org/D139024 breaks the compilation of AMDGPU programs when the sanitizers are enabled (`lld` raises an error due to the problematic relocations).
With the work from https://reviews.llvm.org/D139024 , this case will be triggered for functions with the `uwtable` attribute.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142453/new/
https://reviews.llvm.org/D142453
More information about the llvm-commits
mailing list