[all-commits] [llvm/llvm-project] 7ebde1: Add a shim for setenv on PS4 since it does not exist.

dyung via All-commits all-commits at lists.llvm.org
Tue Nov 12 15:22:33 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ebde1bf67daa24ea7735f2b2d7000d074e2ba93
      https://github.com/llvm/llvm-project/commit/7ebde1bf67daa24ea7735f2b2d7000d074e2ba93
  Author: Douglas Yung <douglas.yung at sony.com>
  Date:   2019-11-12 (Tue, 12 Nov 2019)

  Changed paths:
    M compiler-rt/lib/profile/InstrProfilingUtil.h

  Log Message:
  -----------
  Add a shim for setenv on PS4 since it does not exist.

A few years back a similar change was made for getenv since neither function is supported on the PS4 platform.

Recently, commit d889d1e added a call to setenv in compiler-rt which was causing linking errors because the symbol was not found. This fixes that issue by putting in a shim similar to how we previously dealt with the lack of getenv.

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




More information about the All-commits mailing list