[all-commits] [llvm/llvm-project] 79d58b: [sanitizer_common] Define wordexp_wrde_dooffs for ...

rorth via All-commits all-commits at lists.llvm.org
Fri Sep 3 01:03:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79d58b4d3017d159bf09a77398c9a116128de193
      https://github.com/llvm/llvm-project/commit/79d58b4d3017d159bf09a77398c9a116128de193
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_solaris.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_solaris.h

  Log Message:
  -----------
  [sanitizer_common] Define wordexp_wrde_dooffs for Solaris

The Solaris buildbots have been broken for some time:

  In file included from /opt/llvm-buildbot/home/solaris11-amd64/clang-solaris11-amd64/llvm/compiler-rt/lib/asan/asan_interceptors.cpp:174:
  /opt/llvm-buildbot/home/solaris11-amd64/clang-solaris11-amd64/llvm/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:4000:19: error: use of undeclared identifier 'wordexp_wrde_dooffs'
          ((flags & wordexp_wrde_dooffs) ? p->we_offs : 0) + p->we_wordc;
                    ^

This was caused by D108646 <https://reviews.llvm.org/D108646>; the fix is
equivalent to D108838 <https://reviews.llvm.org/D108838>.

Tested on `amd64-pc-solaris2.11` and `sparcv9-sun-solaris2.11`.

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




More information about the All-commits mailing list