This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Set MCAsmInfo::PointerSize
ClosedPublic

Authored by arsenm on Aug 12 2015, 12:48 AM.

Details

Summary

The test should need an update / serve as the test forD11969

Diff Detail

Event Timeline

arsenm updated this revision to Diff 31905.Aug 12 2015, 12:48 AM
arsenm retitled this revision from to AMDGPU: Set MCAsmInfo::PointerSize.
arsenm updated this object.
arsenm added reviewers: tstellarAMD, rampitec.
arsenm added a subscriber: llvm-commits.
test/CodeGen/AMDGPU/basic-debug-info.ll
36

Do we need this clang version in the test? Can any of this other metadata be safely dropped?

arsenm updated this revision to Diff 32988.Aug 24 2015, 12:48 PM
arsenm edited edge metadata.

Remove extra metadata

Do we still need this patch?

Do we still need this patch?

I think so

test/CodeGen/AMDGPU/basic-debug-info.ll
36

The clang version should be droppable. Most of it probably can be, I'm not exactly sure what the minimum required is

rampitec accepted this revision.Jan 24 2017, 12:21 AM
This revision is now accepted and ready to land.Jan 24 2017, 12:21 AM
arsenm added a comment.Feb 1 2017, 4:12 PM

It seems the .debug_info section isn't emitted anymore. Is that intentional?

kzhuravl edited edge metadata.Feb 2 2017, 3:07 PM

It seems the .debug_info section isn't emitted anymore. Is that intentional?

.debug_info section is not emitted because you have emissionKind: 0. Change it to emissionKind: FullDebug to get debug info emitted.

test/CodeGen/AMDGPU/basic-debug-info.ll
8
  • add !dbg !4 before {
18
  • emissionKind: 0 -> emissionKind: FullDebug
  • remove subprograms: !3
22
  • missing distinct before DISubprogram
  • function: void ()* @basic_debug_info -> unit: !0
arsenm closed this revision.Feb 3 2017, 12:13 PM
arsenm marked 3 inline comments as done.

r294031

test/CodeGen/AMDGPU/basic-debug-info.ll
18

This was the real problem. The other problems I managed to fix or otherwise it fails to parse