diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2013-05-27 21:40:20 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-05-27 21:40:20 +0000 |
| commit | bdaa13418851be5cc1ca3be88fbd82b15efecde7 (patch) | |
| tree | 14eb08d46a8e807e0b0fd278792f30823730fbe8 /lib/Driver/Driver.cpp | |
| parent | c04a5c38c8b1f317f4e606bd27baeba04b9b74ef (diff) | |
| download | clang-bdaa13418851be5cc1ca3be88fbd82b15efecde7.tar.gz clang-bdaa13418851be5cc1ca3be88fbd82b15efecde7.tar.bz2 clang-bdaa13418851be5cc1ca3be88fbd82b15efecde7.tar.xz | |
Driver: implement --dyld-prefix option.
This option is used to select a dynamic loader prefix to be used
at runtime. Currently this is implemented for the Linux toolchain.
Differential Revision: http://llvm-reviews.chandlerc.com/D851
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182744 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
| -rw-r--r-- | lib/Driver/Driver.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index 1dbbc9a342..5e8dde353b 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -289,6 +289,8 @@ Compilation *Driver::BuildCompilation(ArrayRef<const char *> ArgList) { } if (const Arg *A = Args->getLastArg(options::OPT__sysroot_EQ)) SysRoot = A->getValue(); + if (const Arg *A = Args->getLastArg(options::OPT__dyld_prefix_EQ)) + DyldPrefix = A->getValue(); if (Args->hasArg(options::OPT_nostdlib)) UseStdLib = false; |
