diff options
| author | Gabriele Mondada <gab@ijk.ch> | 2026-02-28 21:13:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-28 12:13:18 -0800 |
| commit | 5ed875a06cb0a6d543f719ad72df2a1660e42cb9 (patch) | |
| tree | 0852f4e9df78308eb70f3dba2abb05a6fd9f35b8 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 3034c0966931bef36c169b5727ee20129aa4d4e3 (diff) | |
| download | llvm-5ed875a06cb0a6d543f719ad72df2a1660e42cb9.zip llvm-5ed875a06cb0a6d543f719ad72df2a1660e42cb9.tar.gz llvm-5ed875a06cb0a6d543f719ad72df2a1660e42cb9.tar.bz2 | |
[lldb][lldb-server] Fix zip file lookup ignoring last entry in the zip file (#173966)
Command qModuleInfo (GDB server protocol) can be used to request
metadata of shared libraries stored in a ZIP archive on the target. This
is typically used for retrieving SO files bundled in a APK file on
Android.
Requesting the last entry in the ZIP file often fails because of a bug
in the entry search mechanism. This PR fixes this.
NOTES:
* The bug appears only if the entry in the zip file has no extra field
or comment
* This is part on an effort to get lldb working for debugging Swift on
Android: https://github.com/swiftlang/llvm-project/issues/10831
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
