This is an archive of the discontinued LLVM Phabricator instance.

Fix getRelocationValueString to return the symbol name for EM_386.
ClosedPublic

Authored by jvoung on Oct 24 2014, 6:18 PM.

Details

Summary

Fix getRelocationValueString to return the symbol name for EM_386.

This helps llvm-objdump -r to print out the symbol name along with the relocation type.
Adjust existing tests from checking for "Unknown" to check for the symbol now.

Diff Detail

Event Timeline

jvoung updated this revision to Diff 15447.Oct 24 2014, 6:18 PM
jvoung retitled this revision from to Fix getRelocationValueString to return the symbol name for EM_386..
jvoung updated this object.
jvoung edited the test plan for this revision. (Show Details)
jvoung added a subscriber: Unknown Object (MLST).
dschuff accepted this revision.Oct 29 2014, 10:59 AM
dschuff added a reviewer: dschuff.
dschuff added a subscriber: dschuff.

Maybe a little bit more detail in the commit message but otherwise LGTM

This revision is now accepted and ready to land.Oct 29 2014, 10:59 AM
jvoung updated this object.Oct 29 2014, 11:14 AM
jvoung edited edge metadata.
jvoung closed this revision.Oct 29 2014, 11:47 AM
jvoung updated this revision to Diff 15552.

Closed by commit rL220866 (authored by @jvoung).