[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 07:55:28 +0000 (07:55 +0000)
commit4d618b52f6e05e41d35f56653cb36bf7d4dc794e
tree193de7aaa5b2df0e5e7eff9e9852778fa0ec40af
parent6f654a80c901c97b77c7ba4393c7b2ea01058e95
[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.
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