[llvm] [LLVM][DWARF] Add support for .gnu_debuglink (PR #77715)
Alexander Yermolovich via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 11 11:22:35 PST 2024
================
@@ -127,6 +127,9 @@ class DWARFContext : public DIContext {
std::unique_ptr<const DWARFObject> DObj;
+ /// Binary containing debug information after objcopy --only-keep-debug
+ object::OwningBinary<object::ObjectFile> GnuLink;
----------------
ayermolo wrote:
I was aiming to do that here. This is the first entrance path for multiple tools that create DWARFContext. Otherwise this will need to be handled on caller side at multiple points. Unless I am missing something.
Where would be a better place for this?
https://github.com/llvm/llvm-project/pull/77715
More information about the llvm-commits
mailing list