[utils] change default nameless value to "TMP"
authorSanjay Patel <spatel@rotateright.com>
Mon, 1 Jun 2020 10:49:07 +0000 (06:49 -0400)
committerSanjay Patel <spatel@rotateright.com>
Mon, 1 Jun 2020 10:54:45 +0000 (06:54 -0400)
commite5b8772756737e41cb1e8ee1a5a33cb3d8a25be6
treee18b9dd688edca1495fa1a8612a4f5e4f8bc7019
parent7bcde99f7779a71a389e559b7ff2ff6ec43ae004
[utils] change default nameless value to "TMP"

This is effectively reverting rGbfdc2552664d to avoid test churn
while we figure out a better way forward.

We at least salvage the warning on name conflict from that patch
though.

If we change the default string again, we may want to mass update
tests at the same time. Alternatively, we could live with the poor
naming if we change -instnamer.

This also adds a test to LLVM as suggested in the post-commit
review. There's a clang test that is also affected. That seems
like a layering violation, but I have not looked at fixing that yet.

Differential Revision: https://reviews.llvm.org/D80584
clang/test/utils/update_cc_test_checks/Inputs/mangled_names.c.expected
clang/test/utils/update_cc_test_checks/Inputs/mangled_names.c.funcsig.expected
llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll
llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll.expected
llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll.funcsig.expected
llvm/utils/UpdateTestChecks/common.py