summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/link-bitcode-file.c
Commit message (Collapse)AuthorAgeFilesLines
* [CodeGen] Update test after recent changes in llvm (r293846).Davide Italiano2017-02-021-1/+1
| | | | llvm-svn: 293848
* [CodeGen] Update test after recent changes in llvm (r293799).Davide Italiano2017-02-011-1/+1
| | | | llvm-svn: 293810
* Allow linking multiple bitcode files.Artem Belevich2015-10-271-2/+13
| | | | | | | | | | | | | | | | | | 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
* Fixed double-free in case of module loading error.Artem Belevich2015-05-121-0/+5
| | | | | | | | | | | | | GetOutputStream() owns the stream it returns pointer to and the pointer should never be freed by us. When we fail to load and exit early, unique_ptr still holds the pointer and frees it which leads to compiler crash when CompilerInstance attempts to free it again. Added regression test for failed bitcode linking. Differential Revision: http://reviews.llvm.org/D9625 llvm-svn: 237159
* Make this test a bit stricter by checking clang's output too.Rafael Espindola2014-10-251-1/+1
| | | | llvm-svn: 220604
* CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin2013-08-151-2/+2
| | | | | | tests fail. llvm-svn: 188447
* Add 'not' to commands that are expected to fail.Rafael Espindola2013-07-041-1/+1
| | | | | | | This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
* Add support for lazily linking bitcode files (using a newPeter Collingbourne2011-10-301-0/+24
-mlink-bitcode-file flag), and more generally llvm::Modules, before running optimisations. llvm-svn: 143314
OpenPOWER on IntegriCloud