https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81686
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- The hook is specified to take an input that's in the basic source character set ($ is also used with it). Maybe LTO should store the complete mapping for basic source characters in the object file in the case where it's not the identity mapping (and give an error if linking objects using different mappings).