[Hexagon] Fix test on OpenBSD
authorBrad Smith <brad@comstyle.com>
Tue, 24 May 2022 03:26:14 +0000 (23:26 -0400)
committerBrad Smith <brad@comstyle.com>
Tue, 24 May 2022 03:26:14 +0000 (23:26 -0400)
commit244494a201f81996a401e49c7b13bdf54589f293
tree1049ab9e1201357abaab18307452ef5a5477c936
parent6c12ae8163c77c508aa846958360aa96d1c2c00d
[Hexagon] Fix test on OpenBSD

The test specifies a CPU arch but not a particular OS. So if run on
OpenBSD it acts as if it's an OpenBSD/hexagon system. OpenBSD uses
__guard_local instead of __stack_chk_guard so the test will fail. So
specify an OS other than OpenBSD fixes the test.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D126265
llvm/test/CodeGen/Hexagon/sdata-stack-guard.ll