[llvm-exegesis] Explicitly link llvm-exegesis unit tests against librt
authorAiden Grossman <agrossman154@yahoo.com>
Mon, 26 Jun 2023 20:26:30 +0000 (20:26 +0000)
committerAiden Grossman <agrossman154@yahoo.com>
Mon, 26 Jun 2023 20:27:36 +0000 (20:27 +0000)
commit3500d3ba1cd97df58776a79ed61e0d1946a085c2
tree77858f01cdc2da0b023a43eb9da9ad2ebaa8853c
parent13f15e8f14cfd0b5795ef0c0164a913fdaa5378c
[llvm-exegesis] Explicitly link llvm-exegesis unit tests against librt

On some platforms such as PPC shm_open is in librt and it isn't
automatically linked against. This patch explicitly links against librt
in the unittests which should hopefully fix the symbol resolution
errors.
llvm/unittests/tools/llvm-exegesis/X86/CMakeLists.txt