diff options
| author | Artem Belevich <tra@google.com> | 2015-10-27 17:56:59 +0000 |
|---|---|---|
| committer | Artem Belevich <tra@google.com> | 2015-10-27 17:56:59 +0000 |
| commit | 5d40ae3a46a43eb0dd16dec801af5517d2ea9e96 (patch) | |
| tree | 7d094e176b3753cd823a271856235bc13e30152e /clang/lib/Sema/SemaOverload.cpp | |
| parent | 6eb683891fcbf667d59163f1c782b0ea5b1b97fc (diff) | |
| download | bcm5719-llvm-5d40ae3a46a43eb0dd16dec801af5517d2ea9e96.tar.gz bcm5719-llvm-5d40ae3a46a43eb0dd16dec801af5517d2ea9e96.zip | |
Allow linking multiple bitcode files.
Linking options for particular file depend on the option that specifies the file.
Currently there are two:
* -mlink-bitcode-file links in complete content of the specified file.
* -mlink-cuda-bitcode links in only the symbols needed by current TU.
Linked symbols are internalized. This bitcode linking mode is used to
link device-specific bitcode provided by CUDA.
Files are linked in order they are specified on command line.
-mlink-cuda-bitcode replaces -fcuda-uses-libdevice flag.
Differential Revision: http://reviews.llvm.org/D13913
llvm-svn: 251427
Diffstat (limited to 'clang/lib/Sema/SemaOverload.cpp')
0 files changed, 0 insertions, 0 deletions

