[PATCH] D122198: [PowerPC] Add .ref in backend for AIX XCOFF to support `-bcdtors:csect` linker option
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 6 07:25:03 PDT 2022
shchenz added inline comments.
================
Comment at: llvm/lib/MC/MCAsmStreamer.cpp:938
+ const MCSymbol *Symbol) {
+ if (Symbol == nullptr) {
+ OS << "\t.ref " << Name;
----------------
Maybe we can add an assert here that we are not adding .ref in a section with BS/UC storage mapping class.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122198/new/
https://reviews.llvm.org/D122198
More information about the llvm-commits
mailing list