Skip to content

[AMDGPU] Fixed llvm-debuginfo-analyzer for AMDGPU. #145125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

adam-yang
Copy link
Contributor

Constructing Target triple with ObjectFile::makeTriple instead of just with Arch and leaving the rest unknown. Also creating the subtarget with the CPU. AMDGPU needs the full triple and CPU to disassemble correctly.

To run a full test, also fixed a failure with the $noreg operand in DBG_VALUE, and writing relocation with AMDPAL.

Copy link

⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo.
Please turn off Keep my email addresses private setting in your account.
See LLVM Developer Policy and LLVM Discourse for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant