[all-commits] [llvm/llvm-project] f759b4: [AIX] Generate unique module id based on Pid and t...

xiangling-liao via All-commits all-commits at lists.llvm.org
Fri Aug 14 13:23:46 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f759b4e43be251ca29e4cd9cbf6af2ed08ff8253
      https://github.com/llvm/llvm-project/commit/f759b4e43be251ca29e4cd9cbf6af2ed08ff8253
  Author: Xiangling Liao <Xiangling.Liao at ibm.com>
  Date:   2020-08-14 (Fri, 14 Aug 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
    M llvm/test/CodeGen/PowerPC/aix-static-init-no-unique-module-id.ll

  Log Message:
  -----------
  [AIX] Generate unique module id based on Pid and timestamp

A unique module id, which is a part of sinit and sterm function names, is
necessary to be unique. However, `getUniqueModuleId` will fail if there is
no strong external symbol within a module. We turn to use Pid and timestamp
when this happens.

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




More information about the All-commits mailing list