[llvm-exegesis] Introduce Subprocess Executor Mode
authorAiden Grossman <agrossman154@yahoo.com>
Sat, 20 May 2023 09:23:27 +0000 (09:23 +0000)
committerAiden Grossman <agrossman154@yahoo.com>
Wed, 21 Jun 2023 02:00:13 +0000 (02:00 +0000)
commit0d4ef4ff01addbb40b9122a00d6b2f23104cbb3b
treead1e37326cc5a3c1020e370dcf1bfc2007c7ad74
parent06f942016b6b1e376334937a3b132232e311104f
[llvm-exegesis] Introduce Subprocess Executor Mode

This patch introduces the subprocess executor mode. Currently, this new
mode doesn't do anything fancy, just executing the same code that the
inprocess executor would do, but within a subprocess. This sets up the
ability to add in many more memory-related features in the future.

Reviewed By: courbet

Differential Revision: https://reviews.llvm.org/D151021
llvm/test/tools/llvm-exegesis/X86/latency/subprocess-abnormal-exit-code.s [new file with mode: 0644]
llvm/test/tools/llvm-exegesis/X86/latency/subprocess-segfault.s [new file with mode: 0644]
llvm/test/tools/llvm-exegesis/X86/latency/subprocess.s [new file with mode: 0644]
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h
llvm/tools/llvm-exegesis/llvm-exegesis.cpp