[all-commits] [llvm/llvm-project] c25f61: [XCOFF][AIX] Handle llvm.used and llvm.compiler.us...

jasonliudev via All-commits all-commits at lists.llvm.org
Mon Jul 27 08:29:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c25f61cf6a61bc323af118d351a27603fdd0158d
      https://github.com/llvm/llvm-project/commit/c25f61cf6a61bc323af118d351a27603fdd0158d
  Author: jasonliu <jasonliu.development at gmail.com>
  Date:   2020-07-27 (Mon, 27 Jul 2020)

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

  Log Message:
  -----------
  [XCOFF][AIX] Handle llvm.used and llvm.compiler.used global array

For now, just return and do nothing when we see llvm.used and
llvm.compiler.used global array.
Hopefully, we could come up with a good solution later to prevent
linker from eliminating symbols in llvm.used array.

Reviewed By: DiggerLin, daltenty

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




More information about the All-commits mailing list