[Lldb-commits] [lldb] [lldb] Store proper integer bitwidth in Scalar Type (PR #81451)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 14 10:26:13 PST 2024


bulbazord wrote:

> @clayborg @bulbazord we have extension in lldb to support cobol code debugging, we require byteswapping there. upstream version of lldb does not do byteswapping on scalar so no problem seen.

Maybe not, but this should still be testable with a unit test. If somebody modifies or refactors this code in the future without a test, this might break in a similar way and you would have to do all this work again. :)

https://github.com/llvm/llvm-project/pull/81451


More information about the lldb-commits mailing list