projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement DTPOFF.
[oota-llvm.git]
/
include
/
llvm
/
LinkAllVMCore.h
diff --git
a/include/llvm/LinkAllVMCore.h
b/include/llvm/LinkAllVMCore.h
index 2c5b1bc8ced43c2ac30373587a6fea37740d1278..6959cb6d1efc1be432890a467ea3eb18eb8b970a 100644
(file)
--- a/
include/llvm/LinkAllVMCore.h
+++ b/
include/llvm/LinkAllVMCore.h
@@
-16,6
+16,7
@@
#ifndef LLVM_LINKALLVMCORE_H
#define LLVM_LINKALLVMCORE_H
#ifndef LLVM_LINKALLVMCORE_H
#define LLVM_LINKALLVMCORE_H
+#include "llvm/LLVMContext.h"
#include "llvm/Module.h"
#include "llvm/Instructions.h"
#include "llvm/IntrinsicInst.h"
#include "llvm/Module.h"
#include "llvm/Instructions.h"
#include "llvm/IntrinsicInst.h"
@@
-31,9
+32,8
@@
#include "llvm/System/Signals.h"
#include "llvm/System/TimeValue.h"
#include "llvm/Support/Dwarf.h"
#include "llvm/System/Signals.h"
#include "llvm/System/TimeValue.h"
#include "llvm/Support/Dwarf.h"
-#include "llvm/Support/Mangler.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/MathExtras.h"
-#include
"llvm/Support/SlowOperationInformer.h"
+#include
<cstdlib>
namespace {
struct ForceVMCoreLinking {
namespace {
struct ForceVMCoreLinking {
@@
-44,8
+44,8
@@
namespace {
// to know that getenv() never returns -1, this will do the job.
if (std::getenv("bar") != (char*) -1)
return;
// to know that getenv() never returns -1, this will do the job.
if (std::getenv("bar") != (char*) -1)
return;
- (void)new llvm::Module("");
- (void)new llvm::UnreachableInst();
+ (void)new llvm::Module(""
, llvm::getGlobalContext()
);
+ (void)new llvm::UnreachableInst(
llvm::getGlobalContext()
);
(void) llvm::createVerifierPass();
}
} ForceVMCoreLinking;
(void) llvm::createVerifierPass();
}
} ForceVMCoreLinking;