[PATCH] D139024: [Backend][AsmPrinter][CFI] Generate unwind table entries in .eh_frame when the uwtable attribute is present.

Juan Manuel Martinez CaamaƱo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 06:46:35 PST 2022


jmmartinez added a comment.

Hi ! Thanks for the comment (and sorry for the delay).

In D139024#3969663 <https://reviews.llvm.org/D139024#3969663>, @MaskRay wrote:

> Can you describe the clang command line?

The objective is to emit an entry in the `.eh_frame` section when the function is marked as `uwtable` (and CFI is supported by the target).
This is used by sanitizers that use async unwind tables (address, hwaddress, thread, memory and dataflow according to https://github.com/llvm/llvm-project/blob/main/clang/lib/Driver/SanitizerArgs.cpp#L42, and used here https://github.com/llvm/llvm-project/blob/main/clang/lib/Driver/ToolChains/Clang.cpp#L5395).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139024/new/

https://reviews.llvm.org/D139024



More information about the llvm-commits mailing list