From: Davide Italiano Date: Mon, 26 Sep 2016 22:38:17 +0000 (+0000) Subject: [CodeGen] Switch test as FreeBSD will support .init_array soon. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b412e013d379f53f8d3160e0d22b02cbcb7e77d0;p=llvm [CodeGen] Switch test as FreeBSD will support .init_array soon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282450 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/init-priority.ll b/test/CodeGen/X86/init-priority.ll index a0cff237f18..85ef5475cf2 100644 --- a/test/CodeGen/X86/init-priority.ll +++ b/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