[lldb] [llvm] [ELF][LLDB] Add an nvsass triple (PR #159459)
Walter Erquinigo via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 20 18:34:21 PDT 2025
walter-erquinigo wrote:
@jhuber6 , something I care about for LLDB is being able to use different disassemblers for ptx and sass. The unique situation here is that sass is not part of LLVM code generation, and it seems that's why LLVM is unaware of sass. LLVM can only generate ptx and folks rely on an nvidia proprietary compiler to go from ptx to sass. But at runtime, LLDB sees both sass and nvptx.
I guess that a simpler patch that would exist only within LLDB is to add two flavors to the nvptx architecture, one for nvptx and for sass in the ArchSpec class in LLDB. I for sure can do that without doing major architectural changes like this.
https://github.com/llvm/llvm-project/pull/159459
More information about the llvm-commits
mailing list