diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-06-28 20:16:02 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-06-28 20:16:02 +0000 |
commit | 99ca47b21f6b32ea8a92b0c8e0bea18170f86b9e (patch) | |
tree | 147f346ff38f48633e0a99b083bd524c490df5cd /test/Driver/darwin-ld.c | |
parent | de31fd7eeebdc64fb043463e7f515dab8eccac8d (diff) |
Driver/Darwin: -force_load can be specified multiple times.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/darwin-ld.c')
-rw-r--r-- | test/Driver/darwin-ld.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Driver/darwin-ld.c b/test/Driver/darwin-ld.c index 3090f28ffe..33b48583b5 100644 --- a/test/Driver/darwin-ld.c +++ b/test/Driver/darwin-ld.c @@ -100,3 +100,11 @@ // // LINK_OBJECT_LTO_PATH: {{ld(.exe)?"}} // LINK_OBJECT_LTO_PATH: "-object_path_lto" + +// RUN: %clang -ccc-host-triple x86_64-apple-darwin10 -### %t.o \ +// RUN: -force_load a -force_load b 2> %t.log +// RUN: cat %t.log +// RUN: FileCheck -check-prefix=FORCE_LOAD %s < %t.log +// +// FORCE_LOAD: {{ld(.exe)?"}} +// FORCE_LOAD: "-force_load" "a" "-force_load" "b" |