[PATCH] D141691: [lld][COFF] Provide unwinding information for Chunk injected by /delayloaded

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 07:05:44 PST 2023


serge-sans-paille created this revision.
Herald added a project: All.
serge-sans-paille requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

For each symbol in a /delayloaded library, lld injects a small piece of
code to handle the symbol lazy loading. This code doesn't have unwind
information, which may be troublesome.

Provide these information for AMD64.

Thanks to Yannis Juglaret <yjuglaret at mozilla.com> for contributing the
unwinding info and for his support while crafting this patch.

Fix #59639


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141691

Files:
  lld/COFF/DLL.cpp
  lld/COFF/DLL.h
  lld/COFF/Writer.cpp
  lld/test/COFF/delayimports.test
  lld/test/COFF/delayimporttables.yaml
  lld/test/COFF/giats.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141691.488992.patch
Type: text/x-patch
Size: 9469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230113/0adc6709/attachment.bin>


More information about the llvm-commits mailing list