[all-commits] [llvm/llvm-project] 34b289: [ThinLTO][Legacy] Compute PreservedGUID based on I...

Steven Wu via All-commits all-commits at lists.llvm.org
Wed Aug 26 10:15:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 34b289b6dbcf1cdb328ab0a13cdedf96701394af
      https://github.com/llvm/llvm-project/commit/34b289b6dbcf1cdb328ab0a13cdedf96701394af
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2020-08-26 (Wed, 26 Aug 2020)

  Changed paths:
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    M llvm/test/ThinLTO/X86/internalize.ll
    A llvm/test/ThinLTO/X86/mangled_symbol.ll
    M llvm/test/ThinLTO/X86/weak_resolution.ll
    M llvm/test/ThinLTO/X86/weak_resolution_single.ll

  Log Message:
  -----------
  [ThinLTO][Legacy] Compute PreservedGUID based on IRName in Symtab

Instead of computing GUID based on some assumption about symbol mangling
rule from IRName to symbol name, lookup the IRName from all the symtabs
from all the input files to see if there are any matching symbols entry
provides the IRName for GUID computation.

rdar://65853754

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D84803




More information about the All-commits mailing list