Use named temporaries for directional labels.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 17 Jun 2015 16:26:47 +0000 (16:26 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 17 Jun 2015 16:26:47 +0000 (16:26 +0000)
commitf27fa2bb9d6078013cc95750748a435611aa511b
tree3af54358fb0b9a3d5a2d01d5ad3d60f0442d10f6
parentcd278b7e993e7986fc8f83a2ca0f0b4ab2fc7a21
Use named temporaries for directional labels.

Directional labels can show up in symbol tables (and we have a llvm-mc test for
that). Given that, we need to make sure they are named.

With that out of the way, use setUseNamesOnTempLabels in llvm-mc so that it
too benefits from the memory saving.

llvm-svn: 239914
llvm/include/llvm/MC/MCContext.h
llvm/lib/MC/MCContext.cpp
llvm/tools/llvm-mc/llvm-mc.cpp