From f5d77f4aadd3111e2fbdeecfba0ea46fa8f313e9 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Mon, 26 Sep 2016 22:38:17 +0000 Subject: [PATCH] [CodeGen] Switch test as FreeBSD will support .init_array soon. llvm-svn: 282450 --- llvm/test/CodeGen/X86/init-priority.ll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/test/CodeGen/X86/init-priority.ll b/llvm/test/CodeGen/X86/init-priority.ll index a0cff237f188..85ef5475cf20 100644 --- a/llvm/test/CodeGen/X86/init-priority.ll +++ b/llvm/test/CodeGen/X86/init-priority.ll @@ -1,8 +1,8 @@ -; RUN: llc < %s -mtriple=x86_64-unknown-freebsd9 | FileCheck %s +; RUN: llc < %s -mtriple=x86_64-netbsd | FileCheck %s ; Check that our compiler never emits global constructors -; inside the .init_array section when building for a non-Linux ELF target. -; Because of this, the test depends on UseInitArray behavior under FreeBSD +; inside the .init_array section when building for a non supported target. +; Because of this, the test depends on UseInitArray behavior under NetBSD ; as found in Generic_ELF::addClangTargetOptions(). ; This is to workaround a Visual Studio bug which causes field