X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FExecutionEngine%2FRuntimeDyld%2FGDBRegistrationListener.cpp;h=5439a77e1a568122f479ccaad7ef8109362e2a0a;hp=13d5672a82b5d8f2cd03c5f4993a4d7796e8bf06;hb=47539e066c88d9ebf3e0845237e7f31b4e280313;hpb=31862ae54168899c009193ed63f6837b81a51845 diff --git a/lib/ExecutionEngine/RuntimeDyld/GDBRegistrationListener.cpp b/lib/ExecutionEngine/RuntimeDyld/GDBRegistrationListener.cpp index 13d5672a82b..5439a77e1a5 100644 --- a/lib/ExecutionEngine/RuntimeDyld/GDBRegistrationListener.cpp +++ b/lib/ExecutionEngine/RuntimeDyld/GDBRegistrationListener.cpp @@ -69,6 +69,16 @@ struct RegisteredObjectInfo { OwningBinary Obj) : Size(Size), Entry(Entry), Obj(std::move(Obj)) {} + RegisteredObjectInfo(RegisteredObjectInfo &&Other) + : Size(Other.Size), Entry(Other.Entry), Obj(std::move(Other.Obj)) {} + + RegisteredObjectInfo& operator=(RegisteredObjectInfo &&Other) { + Size = Other.Size; + Entry = Other.Entry; + Obj = std::move(Other.Obj); + return *this; + } + std::size_t Size; jit_code_entry *Entry; OwningBinary Obj;