[all-commits] [llvm/llvm-project] ac3cb4: [Orc] Disable use of shared memory on Android

Anubhab Ghosh via All-commits all-commits at lists.llvm.org
Mon Aug 1 06:21:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac3cb4ecd0c6ed03c135945d27bbe197d80cba4e
      https://github.com/llvm/llvm-project/commit/ac3cb4ecd0c6ed03c135945d27bbe197d80cba4e
  Author: Anubhab Ghosh <anubhabghosh.me at gmail.com>
  Date:   2022-08-01 (Mon, 01 Aug 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h
    M llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
    M llvm/lib/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.cpp
    M llvm/unittests/ExecutionEngine/Orc/SharedMemoryMapperTest.cpp

  Log Message:
  -----------
  [Orc] Disable use of shared memory on Android

shm_open and shm_unlink are not available on Android. This commit
disables SharedMemoryMapper on Android until a better solution is
available.

https://android.googlesource.com/platform/bionic/+/refs/heads/master/docs/status.md
https://github.com/llvm/llvm-project/issues/56812

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




More information about the All-commits mailing list