Revert "Reverting r193835 due to weirdness with Go..."
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 3 Jan 2014 01:30:05 +0000 (01:30 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 3 Jan 2014 01:30:05 +0000 (01:30 +0000)
commit22b29a5f1a4bbf136538a18de1db3e9a0a8f5a40
tree00492fbdecc5637384010047222a8b880e8a845a
parent9b12e72376e0d3a3356998198cb6cbff4879698e
Revert "Reverting r193835 due to weirdness with Go..."

The cgo problem was that it wants dwarf2 which doesn't support direct
constant encoding of the location. So let's add support for dwarf2
encoding (using a location expression) of data member locations.

This reverts commit r198385.

llvm-svn: 198389
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/test/DebugInfo/X86/concrete_out_of_line.ll
llvm/test/DebugInfo/X86/data_member_location.ll
llvm/test/DebugInfo/X86/generate-odr-hash.ll