llvm.org GIT mirror llvm / b412e01
[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 Davide Italiano 3 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llc < %s -mtriple=x86_64-unknown-freebsd9 | FileCheck %s
0 ; RUN: llc < %s -mtriple=x86_64-netbsd | FileCheck %s
11
22 ; Check that our compiler never emits global constructors
3 ; inside the .init_array section when building for a non-Linux ELF target.
4 ; Because of this, the test depends on UseInitArray behavior under FreeBSD
3 ; inside the .init_array section when building for a non supported target.
4 ; Because of this, the test depends on UseInitArray behavior under NetBSD
55 ; as found in Generic_ELF::addClangTargetOptions().
66
77 ; This is to workaround a Visual Studio bug which causes field