HomePhabricator

[llvm-objdump] - Print relocation record in a GNU format.

Authored by grimar on May 7 2019, 6:14 AM.

Description

[llvm-objdump] - Print relocation record in a GNU format.

This fixes the https://bugs.llvm.org/show_bug.cgi?id=41355.

Previously with -r we printed relocation section name instead of the target section name.
It was like this: "RELOCATION RECORDS FOR [.rel.text]"
Now it is: "RELOCATION RECORDS FOR [.text]"

Also when relocation target section has more than one relocation section,
we did not combine the output. Now we do.

Differential revision: https://reviews.llvm.org/D61312

llvm-svn: 360143

Details

Committed
grimarMay 7 2019, 6:14 AM
Differential Revision
D61312: [llvm-objdump] - Print relocation record in a GNU format.
Parents
rG7399ad31931d: minor cmake formatting style fix
Branches
Unknown
Tags
Unknown