[SystemZ] Update non-pic DWARF encodings
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 6 May 2013 17:28:30 +0000 (17:28 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Mon, 6 May 2013 17:28:30 +0000 (17:28 +0000)
commite5c8c24ed5ff9500145633a550b016a2308c1740
treebb28184a5e978fd5ae73bea3fb7dda82f2e4c61b
parentf51d7e76ae2c56588b162d84da54d5c3f0b66b51
[SystemZ] Update non-pic DWARF encodings

As pointed out by Rafael Espindola, we should match the DWARF encodings
produced by GCC in both pic and non-pic modes.  This was not the case
for the non-pic case.

This patch changes all DWARF encodings to DW_EH_PE_absptr for the
non-pic case, just like GCC does.  The test case is updated to check
for both variants.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181222 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCObjectFileInfo.cpp
test/DebugInfo/SystemZ/eh_frame_personality.ll