[PATCH] D20121: Make "@name =" mandatory for globals in .ll files

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Wed May 11 08:37:23 PDT 2016


> I agree it's not useful for checked in tests, but it's useful for hacking/debugging a test case that happens to have unnamed globals before it has been understood or fully reduced.

Good point.

Would changing -instnamer to also name unnamed globals solve the
issue? I normally use it when I start looking at a testcase to make it
easier to edit. It could do the corresponding thing for globals.

Cheers,
Rafael


More information about the llvm-commits mailing list