[all-commits] [llvm/llvm-project] 244494: [Hexagon] Fix test on OpenBSD

Brad Smith via All-commits all-commits at lists.llvm.org
Mon May 23 20:30:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 244494a201f81996a401e49c7b13bdf54589f293
      https://github.com/llvm/llvm-project/commit/244494a201f81996a401e49c7b13bdf54589f293
  Author: Brad Smith <brad at comstyle.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    M llvm/test/CodeGen/Hexagon/sdata-stack-guard.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list