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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to