[Lldb-commits] [lldb] Draft: [LLDB] Add scalar literal node (PR #147064)
Ilia Kuklin via lldb-commits
lldb-commits at lists.llvm.org
Wed Jul 9 09:58:36 PDT 2025
kuilpd wrote:
> but I can also imagine doing something like python's "arbitrary width" integers.
Isn't this basically `llvm::APInt` class? We could just disregard every integer's type, add their values as `APInt` and return the result with a maximum width integer type. I kind of like this path, makes things way simpler. The only thing is that if the values of shorter types are expected to overflow and truncate, we would get a wrong result, and I'm not sure how important this is in the context of data inspection.
https://github.com/llvm/llvm-project/pull/147064
More information about the lldb-commits
mailing list