[PATCH] D71125: [AIX] Avoid unset csect assert for functions defined after their use in TOC
Digger via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 6 14:34:30 PST 2019
DiggerLin added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1740
CurrentFnDescSym->getName(), XCOFF::XMC_DS, XCOFF::XTY_SD,
- XCOFF::C_HIDEXT, SectionKind::getData());
+ XCOFF::C_EXT, SectionKind::getData());
cast<MCSymbolXCOFF>(CurrentFnDescSym)->setContainingCsect(FnDescSec);
----------------
for global ,I checked the gcc generated Functions Description as HIDDEN.
for static function, I checked both gcc and xlc generated Functions Description as HIDDEN.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71125/new/
https://reviews.llvm.org/D71125
More information about the llvm-commits
mailing list