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)
commitb306ae3bf30e4eeb3ba6c47e316d4f10454ab169
tree99f414dd9a39da34660392726024b6abc4e6b2b3
parentaa94b68e1bbbccdf6dba6568d012ec65ba507a14
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239914 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCContext.h
lib/MC/MCContext.cpp
tools/llvm-mc/llvm-mc.cpp