[all-commits] [llvm/llvm-project] ee9d52: [lldb] Remove obsolete Android-specific definitions

pirama-arumuga-nainar via All-commits all-commits at lists.llvm.org
Wed Aug 24 14:47:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee9d52a2819668c746aa66e7d628cce04bedbd17
      https://github.com/llvm/llvm-project/commit/ee9d52a2819668c746aa66e7d628cce04bedbd17
  Author: Pirama Arumuga Nainar <pirama at google.com>
  Date:   2022-08-24 (Wed, 24 Aug 2022)

  Changed paths:
    M lldb/source/Plugins/Process/Linux/Procfs.h

  Log Message:
  -----------
  [lldb] Remove obsolete Android-specific definitions

Bionic's <sys/procfs.h> defines the necessary symbols.  Remove the
specialization for Android and the now-unnecessary include of
<sys/ptrace.h>.  This also helps resolve issues when building the
x86/x86_64 lldb-server for Android.

Curiously, the default branch to include <sys/procfs.h> doesn't seem
necessary on Linux.  I'll remove it and add it back if it breaks other
builders.

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




More information about the All-commits mailing list