[llvm-exegesis] Disable SubprocessMemory class on Android
authorAiden Grossman <agrossman154@yahoo.com>
Fri, 7 Jul 2023 02:11:04 +0000 (19:11 -0700)
committerAiden Grossman <agrossman154@yahoo.com>
Fri, 7 Jul 2023 02:12:28 +0000 (19:12 -0700)
commit71cbc62a24df85cf6c6d02d959fccfde231c0698
tree85a609ed1c53192ea45baafcc200770271307ae8
parent68785c1c44bdf68bd9ad09cc141d708108e83479
[llvm-exegesis] Disable SubprocessMemory class on Android

Having the SubprocessMemory class available on Android was causing build
failures in downstream builds as Android doesn't implement the SystemV
IPC specification that supplies shm_open and other functions that the
class relies on. This patch simply makes it unavailable on Android using
preprocessor directives.
llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
llvm/unittests/tools/llvm-exegesis/X86/SubprocessMemoryTest.cpp