diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-03-22 00:42:19 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-03-22 00:42:19 +0000 |
commit | 8371c8990251bd70377ff0673b4dc2e325388a12 (patch) | |
tree | 48dc4dbd8f00f599ab820f9d52acdfb5c280f5aa /lib/ExecutionEngine | |
parent | ddb657c63dd0865c13cf677484b59fc5f9758d1b (diff) | |
download | external_llvm-8371c8990251bd70377ff0673b4dc2e325388a12.zip external_llvm-8371c8990251bd70377ff0673b4dc2e325388a12.tar.gz external_llvm-8371c8990251bd70377ff0673b4dc2e325388a12.tar.bz2 |
Initialize HasError.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128049 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine')
-rw-r--r-- | lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp index 4fb017d..3186bf2 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp @@ -51,6 +51,8 @@ class RuntimeDyldImpl { const InMemoryStruct<macho::SymtabLoadCommand> &SymtabLC); public: + RuntimeDyldImpl() : HasError(false) {} + bool loadObject(MemoryBuffer *InputBuffer); void *getSymbolAddress(StringRef Name) { |