On Feb 22, 2018, at 11:41 AM, Erik Joelsson <erik.joels...@oracle.com> wrote:
> We could grep for the mangled strings for the operators instead, which is
> super fast. Problem is just figuring out all the possible combinations.
Idea: Do a config-style move where you compile a test file of C++ code,
strip out all the names from the object file, and throw the rest away.
Even if we just had a hand-maintained list of strings, it might catch
bugs fast enough to make it worth chasing the bit-rot of the names.
Basically, have a black list of linker names (per OS–or not?), and
keep it updated as people notice problems.