[PATCH] D24545: [LTO] Fix commons handling

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 14 13:10:56 PDT 2016


mehdi_amini updated this revision to Diff 71415.
mehdi_amini added a comment.

Change the API contract: if a least one instance of a common symbol is marked as prevailing, make sure it has the max(size) and max(alignment) over all the common instance for this symbol.


https://reviews.llvm.org/D24545

Files:
  include/llvm/LTO/LTO.h
  lib/LTO/LTO.cpp
  test/LTO/Resolution/X86/Inputs/commons.ll
  test/LTO/Resolution/X86/commons.ll
  test/tools/llvm-lto2/X86/common.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24545.71415.patch
Type: text/x-patch
Size: 4859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160914/4cdddb13/attachment.bin>


More information about the llvm-commits mailing list