[Lldb-commits] [PATCH] D126464: [lldb] Add support to load object files from thin archives

Kaining Zhong via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 26 07:00:03 PDT 2022


PRESIDENT810 created this revision.
PRESIDENT810 added reviewers: clayborg, jingham, jasonmolenda.
Herald added a project: All.
PRESIDENT810 requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

This fixes https://github.com/llvm/llvm-project/issues/50114 where lldb/mac can't load object files from thin archives.
This patch allows lldb to identify thin archives, and load object files contained in them.

I'm a novice at llvm not sure whether I'm fixing this right, so please tell me if anything wrong with this fix, thank you guys!


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126464

Files:
  lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.cpp
  lldb/source/Plugins/ObjectContainer/BSD-Archive/ObjectContainerBSDArchive.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126464.432267.patch
Type: text/x-patch
Size: 11023 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220526/d62971b9/attachment-0001.bin>


More information about the lldb-commits mailing list