Diagnose undefined temporary symbols.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 25 Jun 2015 20:10:45 +0000 (20:10 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 25 Jun 2015 20:10:45 +0000 (20:10 +0000)
commit1de6f369b3e17580ae2d61bc88fc5a3c54ccdae1
tree5b5a2b826e847c3f4f7b169e5e73b4d2870a1449
parentf2c0530fca33a79a21ebb7e8bb0904c9e564c711
Diagnose undefined temporary symbols.

We already disallowed

.global .Lfoo

so this is reasonable.

This is a small cherry pick from r240130.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240681 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/ELFObjectWriter.cpp
test/MC/ELF/discriminator.s
test/MC/ELF/undef-temp.s [new file with mode: 0644]
test/MC/ELF/undef.s
test/MC/ELF/undef2.s [deleted file]