[PATCH] D17388: Rename embedded bitcode section in MachO

Steven Wu via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 19 16:23:21 PST 2016


steven_wu updated this revision to Diff 48556.
steven_wu added a comment.

It will probably be better to check the segment name. I was hesitate to do
that because I couldn't figure out a way without adding more virtual method.
Here is a try to make it more robust. Note it does slightly change the 
behavior because std::error not longer propagates through findBitcodeInObject.


http://reviews.llvm.org/D17388

Files:
  docs/BitCodeFormat.rst
  include/llvm/Object/MachO.h
  include/llvm/Object/ObjectFile.h
  lib/Object/FunctionIndexObjectFile.cpp
  lib/Object/IRObjectFile.cpp
  lib/Object/MachOObjectFile.cpp
  lib/Object/ObjectFile.cpp
  test/LTO/X86/Inputs/bcsection.macho.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17388.48556.patch
Type: text/x-patch
Size: 5597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160220/9bb84450/attachment.bin>


More information about the llvm-commits mailing list