[all-commits] [llvm/llvm-project] 84161f: [AIX] Avoid unset csect assert for functions defin...

David Tenty via All-commits all-commits at lists.llvm.org
Tue Dec 17 13:59:26 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 84161f18ccdc8f8f5a8fc16ca16d402ddc2b9ed4
      https://github.com/llvm/llvm-project/commit/84161f18ccdc8f8f5a8fc16ca16d402ddc2b9ed4
  Author: David Tenty <daltenty at ibm.com>
  Date:   2019-12-17 (Tue, 17 Dec 2019)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
    M llvm/test/CodeGen/PowerPC/aix-xcoff-toc.ll

  Log Message:
  -----------
  [AIX] Avoid unset csect assert for functions defined after their use in TOC

Summary:
If a function is defined after it appears in a TOC expression, we may
try to access an unset containing csect when returning a symbol for the
expression.

Reviewers: Xiangling_L, DiggerLin, jasonliu, hubert.reinterpretcast

Reviewed By: hubert.reinterpretcast

Subscribers: hubert.reinterpretcast, wuzish, nemanjai, hiraditya, kbarton, jsji, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list