[llvm] [gsymutil] Fix a warning on systems with 32-bit `off_t` (PR #189524)

Roy Shi via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 08:02:19 PDT 2026


royitaqi wrote:

Hi @bogner, Thanks for bringing this to our attention.

The fix looks alright. Feel free to merge as is.

**With that said**, it seems there are also [a few other `off_t` in the gsym code](https://github.com/search?q=repo%3Allvm%2Fllvm-project%20path%3Allvm%2Flib%2FDebugInfo%2FGSYM%20off_t&type=code). So I wonder if it make sense to just update all of them (esp. the one which is in the same function that you fixed).

Also **just FYI** that @clayborg and I are very close to merging [a new patch](https://github.com/llvm/llvm-project/pull/190353), where this code will be moved into a new file.

cc @clayborg just for the visibility

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


More information about the llvm-commits mailing list