Fix symbol value computation when part of the expression is weak.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 20 Aug 2015 16:18:30 +0000 (16:18 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 20 Aug 2015 16:18:30 +0000 (16:18 +0000)
commit9a6dbcb2d84d936ebfdba8cf7244feeb34fbc892
tree412480041a2d13725bb9be8ab6a8342e7f58f911
parent950d9fd44945a8b5c0d9384c4939b18ccf1eb47a
Fix symbol value computation when part of the expression is weak.

This matches the behaviour of the gnu assembler and is part of
fixing pr24486.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245576 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCAssembler.cpp
test/MC/X86/expand-var.s