Fix a bug with .weak_def_can_be_hidden: Mutable variables cannot use it.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 7 Feb 2014 16:21:30 +0000 (16:21 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 7 Feb 2014 16:21:30 +0000 (16:21 +0000)
commit0732e9437825550e65aab45050423cb87da55850
tree7edcc2cb635d41ffc02c7346497fed87dee653cc
parent12eb44ddabda1ac12c105b537e46f8ee53485f75
Fix a bug with .weak_def_can_be_hidden: Mutable variables cannot use it.

Thanks to John McCall for noticing it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200977 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
test/CodeGen/PowerPC/weak_def_can_be_hidden.ll
test/CodeGen/X86/weak_def_can_be_hidden.ll