[PATCH] D84803: [ThinLTO][MachO] Preserve both possible GUIDs from exported list
Steven Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 16:47:51 PDT 2020
steven_wu updated this revision to Diff 283442.
steven_wu added a comment.
Change how the GUID is computed in ThinLTOCodeGenerator.
It is not feasible to change GUID to computed from mangled name since for all the places
that needs to compute GUID, it might not have access to DataLayout and etc. to enable the
mangler.
Instead, do conversion from symbol name to IRName based on the symbol info in the InputFile.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84803/new/
https://reviews.llvm.org/D84803
Files:
llvm/lib/LTO/ThinLTOCodeGenerator.cpp
llvm/test/ThinLTO/X86/internalize.ll
llvm/test/ThinLTO/X86/mangled_symbol.ll
llvm/test/ThinLTO/X86/weak_resolution.ll
llvm/test/ThinLTO/X86/weak_resolution_single.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84803.283442.patch
Type: text/x-patch
Size: 8656 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200805/3b2ca78d/attachment.bin>
More information about the llvm-commits
mailing list