Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change embed-bitcode linkage type | Steven Wu | 2016-05-16 | 1 | -4/+4 |
| | | | | | | | | | | | Embedded bitcode should have private linkage instead of appending or external. Otherwise, it will cause link failure due to duplicated symbols. Also add llvm.embedded.module and llvm.cmdline to llvm.compiler.used so they don't get optimized out. rdar://problem/21555860 llvm-svn: 269679 | ||||
* | Embed bitcode in object file (clang cc1 part) | Steven Wu | 2016-05-11 | 1 | -0/+59 |
Summary: Teach clang to embed bitcode inside bitcode. When -fembed-bitcode cc1 option is used, clang will embed both the input bitcode and cc1 commandline into the bitcode in special sections before compiling to the object file. Using -fembed-bitcode-marker will only introduce a marker in both sections. Depends on D17390 Reviewers: rsmith Subscribers: yaron.keren, vsk, cfe-commits Differential Revision: http://reviews.llvm.org/D17392 llvm-svn: 269202 |