This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/RelocVisitor: Handle R_AMDGPU_ABS64 + add dwarfdump test
ClosedPublic

Authored by kzhuravl on Feb 16 2017, 1:07 AM.

Diff Detail

Event Timeline

kzhuravl created this revision.Feb 16 2017, 1:07 AM
arsenm accepted this revision.Feb 16 2017, 9:44 AM
arsenm added a subscriber: arsenm.

LGTM

test/DebugInfo/AMDGPU/dwarfdump-relocs.ll
45

Why aren't we using DW_LANG_OpenCL?

This revision is now accepted and ready to land.Feb 16 2017, 9:44 AM
kzhuravl added inline comments.Feb 16 2017, 10:03 AM
test/DebugInfo/AMDGPU/dwarfdump-relocs.ll
45

DW_LANG_OpenCL is valid only if the DWARF version >= 5. We generate DWARF version 2.

This revision was automatically updated to reflect the committed changes.