forked from OSchip/llvm-project
d6aea71957
Summary: GlobalValue has two getGUID methods: an instance method and a static method. The static method takes a string, which is expected to be what GlobalValue::getRealLinkageName() would return. In LTO.cpp, we were not doing this consistently, sometimes passing an IR name instead. This change makes it so that we call getRealLinkageName() first, making the static getGUID return value consistent with the instance method. Without this change, compiling FileCheck with ThinLTO on Windows fails with numerous undefined symbol errors. With the change, it builds successfully. Reviewers: pcc, rnk Reviewed By: pcc Subscribers: tejohnson, mehdi_amini, llvm-commits Differential Revision: https://reviews.llvm.org/D31444 llvm-svn: 299268 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Caching.cpp | ||
LLVMBuild.txt | ||
LTO.cpp | ||
LTOBackend.cpp | ||
LTOCodeGenerator.cpp | ||
LTOModule.cpp | ||
ThinLTOCodeGenerator.cpp | ||
UpdateCompilerUsed.cpp |