diff options
author | Gheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com> | 2017-08-08 14:33:05 +0000 |
---|---|---|
committer | Gheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com> | 2017-08-08 14:33:05 +0000 |
commit | 2c92693280ad5596b53dbf84fe82d1889273030e (patch) | |
tree | a53d0e318846dd069768f2bd1551c37340fcf4b5 /clang/lib/Driver/ToolChains/CommonArgs.h | |
parent | 1a4272914da23c2f39fcebcbe63998d1c0ff4330 (diff) | |
download | bcm5719-llvm-2c92693280ad5596b53dbf84fe82d1889273030e.tar.gz bcm5719-llvm-2c92693280ad5596b53dbf84fe82d1889273030e.zip |
[OpenMP] OpenMP device offloading code generation produces a cubin file which is then integrated in the host binary using the host linker.
Diff: D29654
llvm-svn: 310362
Diffstat (limited to 'clang/lib/Driver/ToolChains/CommonArgs.h')
-rw-r--r-- | clang/lib/Driver/ToolChains/CommonArgs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/lib/Driver/ToolChains/CommonArgs.h b/clang/lib/Driver/ToolChains/CommonArgs.h index fdeb6669b0a..012f5b9f87a 100644 --- a/clang/lib/Driver/ToolChains/CommonArgs.h +++ b/clang/lib/Driver/ToolChains/CommonArgs.h @@ -39,6 +39,13 @@ void AddRunTimeLibs(const ToolChain &TC, const Driver &D, llvm::opt::ArgStringList &CmdArgs, const llvm::opt::ArgList &Args); +void AddOpenMPLinkerScript(const ToolChain &TC, Compilation &C, + const InputInfo &Output, + const InputInfoList &Inputs, + const llvm::opt::ArgList &Args, + llvm::opt::ArgStringList &CmdArgs, + const JobAction &JA); + const char *SplitDebugName(const llvm::opt::ArgList &Args, const InputInfo &Input); |