[all-commits] [llvm/llvm-project] 83ec9b: [AIX] Use csect reference for function address con...

diggerlin via All-commits all-commits at lists.llvm.org
Mon Jan 6 08:45:23 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 83ec9b51ed21b39063f0e0e7b272e66ae57bbcba
      https://github.com/llvm/llvm-project/commit/83ec9b51ed21b39063f0e0e7b272e66ae57bbcba
  Author: diggerlin <digger.llvm at gmail.com>
  Date:   2020-01-06 (Mon, 06 Jan 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp

  Log Message:
  -----------
  [AIX] Use csect reference for function address constants

SUMMARY:
We currently emit a reference for function address constants as labels;
for example:

foo_ptr:
.long foo
however, there may be no such label in the case where the function is
undefined. Although the label exists when the function is defined, we
will (to be consistent) also use a csect reference in that case.

Address one comment
https://reviews.llvm.org/D71144#inline-653255

Reviewers: daltenty,hubert.reinterpretcast,jasonliu,Xiangling_L
Subscribers: cebowleratibm, wuzish, nemanjai

Differential Revision: https://reviews.llvm.org/D71144




More information about the All-commits mailing list