1*90ccf218SJoel E. Denny // Check that these simple command lines for listing LLVM options are supported, 2*90ccf218SJoel E. Denny // as claimed by 'clang-linker-wrapper --help'. 3*90ccf218SJoel E. Denny 4*90ccf218SJoel E. Denny // RUN: clang-linker-wrapper -mllvm --help 2>&1 | FileCheck %s 5*90ccf218SJoel E. Denny // RUN: clang-linker-wrapper --offload-opt=--help 2>&1 | FileCheck %s 6*90ccf218SJoel E. Denny 7*90ccf218SJoel E. Denny // Look for a few options supported only after -mllvm and --offload-opt. 8*90ccf218SJoel E. Denny // CHECK: OPTIONS: 9*90ccf218SJoel E. Denny // CHECK-DAG: --passes=<string> 10*90ccf218SJoel E. Denny // CHECK-DAG: --load-pass-plugin=<string> 11