mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 19:45:40 -04:00

This translates to -load name.so in the cc1 command. We can't name the driver option -load, as that means "link against oad", so instead we follow GCC's lead and name the option -fplugin. llvm-svn: 248378
8 lines
335 B
C
8 lines
335 B
C
// Check that all -fplugin arguments are converted to -load
|
|
|
|
// RUN: %clang -c %s -fplugin=foo.so -### 2>&1 | FileCheck %s --check-prefix=CHECK1
|
|
// RUN: %clang -c %s -fplugin=foo.so -fplugin=bar.so -### 2>&1 | FileCheck %s --check-prefix=CHECK2
|
|
|
|
// CHECK1: "-load" "foo.so"
|
|
// CHECK2: "-load" "foo.so" "-load" "bar.so"
|