summaryrefslogtreecommitdiffstats
path: root/docs/BitCodeFormat.rst
diff options
context:
space:
mode:
authorSteven Wu <stevenwu@apple.com>2016-02-29 19:40:10 +0000
committerSteven Wu <stevenwu@apple.com>2016-02-29 19:40:10 +0000
commitb9de197a7a6792eebcf597c8eb9e221151355a04 (patch)
tree9cf2ab975bd1d4876442a3c0800104cf5789c7e2 /docs/BitCodeFormat.rst
parent462318cb2d2ca2a5d15cc4a3552856e055f62b92 (diff)
Rename embedded bitcode section in MachO
Summary: Rename the section embeds bitcode from ".llvmbc,.llvmbc" to "__LLVM,__bitcode". The new name matches MachO section naming convention. Reviewers: rafael, pcc Subscribers: davide, llvm-commits, joker.eph Differential Revision: http://reviews.llvm.org/D17388 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262245 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/BitCodeFormat.rst')
-rw-r--r--docs/BitCodeFormat.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/BitCodeFormat.rst b/docs/BitCodeFormat.rst
index d6e3099bdb63..f6a560df8df5 100644
--- a/docs/BitCodeFormat.rst
+++ b/docs/BitCodeFormat.rst
@@ -467,10 +467,11 @@ Native Object File Wrapper Format
=================================
Bitcode files for LLVM IR may also be wrapped in a native object file
-(i.e. ELF, COFF, Mach-O). The bitcode must be stored in a section of the
-object file named ``.llvmbc``. This wrapper format is useful for accommodating
-LTO in compilation pipelines where intermediate objects must be native object
-files which contain metadata in other sections.
+(i.e. ELF, COFF, Mach-O). The bitcode must be stored in a section of the object
+file named ``__LLVM,__bitcode`` for MachO and ``.llvmbc`` for the other object
+formats. This wrapper format is useful for accommodating LTO in compilation
+pipelines where intermediate objects must be native object files which contain
+metadata in other sections.
Not all tools support this format.