labath added a comment.

The fix is good, but the test could be improved. Combining assembly input with 
running the inferior effectively limits the test to a single platform (assembly 
is not portable, and running requires asm to match the host). AFAICT, we don't 
actually need to run the binary to test this fix -- checking just the 
"breakpoint set" command should suffice (if you want to be more explicit in 
what is being checked, you can also run "breakpoint list -v" and test that). 
Then you'd just need to replace `%clang_host` with `%clang -target 
x86_64-pc-linux` (or something) and `UNSUPPORTED: system-windows` with 
`REQUIRES: x86`.

I'll write about variable printing in the other review.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94063/new/

https://reviews.llvm.org/D94063

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to