itf wrote:

> Is there a test case we can use to emulate this instruction correctly? I see 
> lldb/unittests/Instruction/RISCV/TestRISCVEmulator.cpp as the best place to 
> do this. Testing the edge case that was failing to show it failing before and 
> succeeding after the fix.

I don't think we can write a test case for "confirm this is not undefined 
behavior", or at least I don't know a way to test for undefined behavior 
directly from a test


https://github.com/llvm/llvm-project/pull/160550
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to