brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1021 B · 58c3cc1 Raw
28 lines · plain
1# REQUIRES: x862 3## Check that we correctly parse these flags, even though they are4## unimplemented. ## We may still emit warnings or errors for some of the5## unimplemented ones (but those ## errors are squelched because of the6## `--version` flag.)7# RUN: %lld --version \8# RUN:   -dynamic \9# RUN:   -lto_library /lib/foo \10# RUN:   -macosx_version_min 0 \11# RUN:   -no_dtrace_dof \12# RUN:   -dependency_info /path/to/dependency_info.dat \13# RUN:   -lto_library ../lib/libLTO.dylib \14# RUN:   -mllvm -time-passes \15# RUN:   -objc_abi_version 2 \16# RUN:   -ios_simulator_version_min 9.0.0 \17# RUN:   -sdk_version 13.218# RUN: not %lld -v --not-an-ignored-argument 2>&1 | FileCheck %s19# CHECK: error: unknown argument '--not-an-ignored-argument'20 21## Check that we don't emit any warnings nor errors for these unimplemented flags.22# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o23# RUN: %lld %t.o -o /dev/null -objc_abi_version 2 -debug_variant -no_warn_duplicate_libraries24 25.globl _main26_main:27  ret28