[PATCH] D48612: [ThinLTO] Print names in function import debug messages when available

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 26 15:01:01 PDT 2018


tejohnson created this revision.
tejohnson added a reviewer: davidxl.
Herald added subscribers: steven_wu, eraman, inglorion, mehdi_amini.

Rather than just print the GUID, when it is available in the index,
print the global name as well in the function importer debug messages.
It will be available when the combined index is being built on the fly,
e.g. "llvm-lto2 run".


Repository:
  rL LLVM

https://reviews.llvm.org/D48612

Files:
  lib/Transforms/IPO/FunctionImport.cpp
  test/ThinLTO/X86/Inputs/funcimport-debug.ll
  test/ThinLTO/X86/deadstrip.ll
  test/ThinLTO/X86/funcimport-debug.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48612.152973.patch
Type: text/x-patch
Size: 6711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180626/f5b35239/attachment.bin>


More information about the llvm-commits mailing list