[PATCH] D115672: Teach the backend to make references to swift_async_extendedFramePointerFlags weak if it emits it
Arnold Schwaighofer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 13 13:40:54 PST 2021
aschwaighofer created this revision.
aschwaighofer added a reviewer: t.p.northover.
Herald added subscribers: pengfei, hiraditya.
aschwaighofer requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
When references to the symbol `swift_async_extendedFramePointerFlags`
are emitted they have to be weak.
References to the symbol `swift_async_extendedFramePointerFlags` get
emitted only by frame lowering code. Therefore, the backend needs to track
references to the symbol and mark them weak.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D115672
Files:
llvm/include/llvm/CodeGen/AsmPrinter.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
llvm/lib/Target/X86/X86AsmPrinter.h
llvm/lib/Target/X86/X86MCInstLower.cpp
llvm/test/CodeGen/AArch64/swift-dynamic-async-frame.ll
llvm/test/CodeGen/X86/swift-dynamic-async-frame.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115672.394044.patch
Type: text/x-patch
Size: 6027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211213/517e3f5d/attachment.bin>
More information about the llvm-commits
mailing list