I noticed that clinfo was segfaulting as well, so I supposed that I had a driver issue, and turns out, yep! So for those wondering, I'm using vanilla Arch with an Intel HD Graphics 5500 GPU and I had intel-opencl as my driver. I uninstalled that and installed intel-compute-runtime-legacy-bin and it no longer segfaults! Sorry for the trouble.