diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-04-22 03:04:17 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-04-22 03:04:17 +0000 |
commit | 0d338a59bdd823e055d27a735eb521e870823f73 (patch) | |
tree | ecb9dc5f55b478995a2a2876b72026e6c7c47dc0 /lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | |
parent | 7962dbdc6531cb44003dc53323e18c8ee9a20e19 (diff) | |
download | llvm-0d338a59bdd823e055d27a735eb521e870823f73.tar.gz llvm-0d338a59bdd823e055d27a735eb521e870823f73.tar.bz2 llvm-0d338a59bdd823e055d27a735eb521e870823f73.tar.xz |
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
definition below all the header #include lines. This updates most of the
miscellaneous other lib/... directories. A few left though.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp')
-rw-r--r-- | lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp index f9a81db4df..65b544dcaf 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp @@ -11,7 +11,6 @@ // //===----------------------------------------------------------------------===// -#define DEBUG_TYPE "dyld" #include "llvm/ExecutionEngine/RuntimeDyld.h" #include "JITRegistrar.h" #include "ObjectImageCommon.h" @@ -25,6 +24,8 @@ using namespace llvm; using namespace llvm::object; +#define DEBUG_TYPE "dyld" + // Empty out-of-line virtual destructor as the key function. RuntimeDyldImpl::~RuntimeDyldImpl() {} |