Don't use EmitAbsValue with symbol references.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 20 Mar 2014 21:26:38 +0000 (21:26 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 20 Mar 2014 21:26:38 +0000 (21:26 +0000)
commitec5fd32a0b0910de0dbbd1d53fc3a2c87e22d127
treedcf491807c698c966095d3e754ef2e3b910c9789
parent20425d92dfb39377e6b8eb111971d5ac3042421a
Don't use EmitAbsValue with symbol references.

The function exists to force an expression to be absolute, but there it is not
possible to force a symbol reference since

a = b
.long a

means something else.

This is an alternative fix for pr9951 that uses an assert. It then deletes
the old pr9951 test that was testing nothing already.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204399 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCDwarf.cpp
lib/MC/MCStreamer.cpp
test/DebugInfo/X86/pr9951.ll [deleted file]