[llvm] [LLVM][DWARF] Add support for .gnu_debuglink (PR #77715)
Alexander Yermolovich via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 11 12:06:18 PST 2024
================
@@ -202,6 +202,7 @@ template <typename T> class OwningBinary {
OwningBinary(std::unique_ptr<T> Bin, std::unique_ptr<MemoryBuffer> Buf);
OwningBinary(OwningBinary<T>&& Other);
OwningBinary<T> &operator=(OwningBinary<T> &&Other);
+ void operator()(OwningBinary<T> &&Other);
----------------
ayermolo wrote:
> why is this a function call operator? How is this different from the move operator above?
So I was getting an error from clang when trying to initialize GnuLink in a constructor: GnuLink(std::move(GnuLink)).
I was kind of surprised. Although now I can't repro. Seems like it was some kind of transient issue with internal clang I was using.
https://github.com/llvm/llvm-project/pull/77715
More information about the llvm-commits
mailing list