[PATCH] D102377: [AIX] Do NOT emit avaiable externally symbols
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 12 16:58:15 PDT 2021
hubert.reinterpretcast requested changes to this revision.
hubert.reinterpretcast added a comment.
This revision now requires changes to proceed.
It is not acceptable on AIX to emit references to symbols without declaring them unless if using `as -u`, which is less desirable than if the `-u` is not needed.
After:
$ clang -target powerpc-ibm-aix -xc -<<<$'extern inline __attribute__((__gnu_inline__)) void foo() {}\nvoid bar() { foo(); }' -O -Xclang -disable-llvm-passes -S -o - | grep -F foo
bl .foo
Before:
bl .foo
.extern .foo
.extern foo[DS]
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102377/new/
https://reviews.llvm.org/D102377
More information about the llvm-commits
mailing list