From 8371c8990251bd70377ff0673b4dc2e325388a12 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Tue, 22 Mar 2011 00:42:19 +0000 Subject: [PATCH] Initialize HasError. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128049 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp index 4fb017d7576..3186bf26b2d 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp @@ -51,6 +51,8 @@ class RuntimeDyldImpl { const InMemoryStruct &SymtabLC); public: + RuntimeDyldImpl() : HasError(false) {} + bool loadObject(MemoryBuffer *InputBuffer); void *getSymbolAddress(StringRef Name) {