Start fixing pr19147.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 1 May 2014 00:10:17 +0000 (00:10 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 1 May 2014 00:10:17 +0000 (00:10 +0000)
commitb77f8919bc1d246ebce0affe7f81eaf1ebeac725
tree24f23f4c1e9bc16b10b8613002ba986d3739be18
parent21b719dfcf35a5d139d7eafaab0b3c2c7527ffa7
Start fixing pr19147.

This makes the coff writer compute the correct symbol value for the test in
pr19147. The section is still incorrect, that will be fixed in a followup patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207728 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/WinCOFFObjectWriter.cpp
test/MC/COFF/offset.s [new file with mode: 0644]