[PATCH] D31444: LTO: call getRealLinkageName on IRNames before feeding to getGUID
Bob Haarman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 29 15:15:08 PDT 2017
inglorion added a comment.
So the idea is to essentially force callers to supply a linkage type and a filename so that they have to think about this stuff, and then say "If you don't have a linkage type, just pass ExternalLinkage and a dummy filename"? And then always call getRealLinkageName inside getGUID to correctly handle IRNames and hope that nobody ever has a non-IR name that starts in "\x01"?
https://reviews.llvm.org/D31444
More information about the llvm-commits
mailing list