rupprecht wrote:

> I think Greg means add a test that uses the values that previously caused UB. 
> If that test when run under UBSAN does not fail, then we know UB is not being 
> invoked anymore.

These two tests fail w/ ubsan enabled:
* lldb/unittests/Instruction/RISCV/TestRiscvInstEmulation.cpp, specifically 
TestRiscvInstEmulation.TestSimpleRiscvFunction
* lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py

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