-
Notifications
You must be signed in to change notification settings - Fork 14.9k
[ELF][LLDB] Add an nvsass triple #159459
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
[ELF][LLDB] Add an nvsass triple #159459
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -295,7 +295,7 @@ TEST(ELFObjectFileTest, CheckOSAndTriple) { | |
{ELF::EM_X86_64, ELF::ELFOSABI_AIX, "x86_64--aix"}, | ||
{ELF::EM_X86_64, ELF::ELFOSABI_FREEBSD, "x86_64--freebsd"}, | ||
{ELF::EM_X86_64, ELF::ELFOSABI_OPENBSD, "x86_64--openbsd"}, | ||
{ELF::EM_CUDA, ELF::ELFOSABI_CUDA, "nvptx64-nvidia-cuda"}}; | ||
{ELF::EM_CUDA, ELF::ELFOSABI_CUDA, "nvsass-nvidia-cuda"}}; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we keep both targets tested here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sure! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. After inspecting that code, I realized that this can only work with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, thanks! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is this |
||
for (auto [Machine, OS, Triple] : Formats) { | ||
const DataForTest D(ELF::ELFCLASS64, ELF::ELFDATA2LSB, Machine, OS, | ||
ELF::EF_AMDGPU_MACH_AMDGCN_LAST); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this changed?