You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
369 B
7 lines
369 B
4 months ago
|
// A basic C link command-line with optimization with known OS and LTO enabled.
|
||
|
|
||
|
// RUN: %clang -### -O2 -flto -no-canonical-prefixes -target wasm32-wasi --sysroot=/foo %s 2>&1 \
|
||
|
// RUN: | FileCheck -check-prefix=LINK_OPT_KNOWN %s
|
||
|
// LINK_OPT_KNOWN: clang{{.*}}" "-cc1" {{.*}} "-o" "[[temp:[^"]*]]"
|
||
|
// LINK_OPT_KNOWN: wasm-ld{{.*}}" "-L/foo/lib/wasm32-wasi/llvm-lto/
|