diff options
| author | Puyan Lotfi <puyan@puyan.org> | 2019-11-29 01:38:25 -0500 |
|---|---|---|
| committer | Puyan Lotfi <puyan@puyan.org> | 2019-12-04 20:03:57 -0500 |
| commit | 4ef9110b8d1004840d70477382c6bd10fb487fb6 (patch) | |
| tree | 2a3538b96306fd2a5ade47802a2cf4a2de2b76e7 /clang/test | |
| parent | 26f06064157272d47a84e2ddcf6ebc4c99c2e9d8 (diff) | |
| download | bcm5719-llvm-4ef9110b8d1004840d70477382c6bd10fb487fb6.tar.gz bcm5719-llvm-4ef9110b8d1004840d70477382c6bd10fb487fb6.zip | |
[clang][IFS] Ignoring -Xlinker/-Xclang arguments in InterfaceStubs pass for now.
Many of the inputs to clang driver toolchain tools can be things other
than files such as -Xclang and -Xlinker arguments. For now we don't take
such tool pass-through type arguments (although having an -Xifs would be nice to
have to replace things like -emit-merged-ifs). So because for the moment
we are not doing any sort of argument pass-through, I am going to have
InterfaceStubs Merger ignore any non-file type input arguments.
Differential Revision: https://reviews.llvm.org/D70838
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/InterfaceStubs/XlinkerInputArgs.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/InterfaceStubs/XlinkerInputArgs.cpp b/clang/test/InterfaceStubs/XlinkerInputArgs.cpp new file mode 100644 index 00000000000..cb4ef8aca95 --- /dev/null +++ b/clang/test/InterfaceStubs/XlinkerInputArgs.cpp @@ -0,0 +1,3 @@ +// RUN: %clang -### -Xlinker -Bsymbolic -emit-interface-stubs 2>&1 | FileCheck %s +// CHECK: Bsymbolic +// CHECK-NOT: Bsymbolic |

