# Copyright (c) 2013 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# File containing *extra* flags to specify for PNaCl on a given test.

# The following tests use vectors, which PNaCl's ABI checker rejects.
20050316-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20050316-2.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20050316-3.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20050604-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20050607-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20060420-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
simd-1.C,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
simd-2.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
simd-4.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
simd-5.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
simd-6.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
vector-shift.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
vector-shift2.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
vector-subscript-2.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
vector-subscript-3.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input

# These tests use llvm.{frame,return}address, which PNaCl's ABI checker rejects.
20010122-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20030323-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20030811-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
frame-address.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
pr17377.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input

# The following tests use inline assembly, though it happens to be in
# a "portable" way, with an empty assembly string, e.g. asm("").
20001009-2.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20020107-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20030222-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20050203-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20061031-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20071211-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20071220-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20071220-2.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
20080122-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
960312-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
990130-1.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
pr38533.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
pr40022.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
pr40657.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
pr41239.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
pr43385.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
pr43560.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
pr44852.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
pr45695.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
pr47925.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
pr49218.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
pr49390.c,CFLAGS:--pnacl-disable-abi-check,FINALIZE_FLAGS:--no-finalize,TRANSLATE_FLAGS:--allow-llvm-bitcode-input
