summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli/lli.cpp
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2017-04-11 10:07:12 +0000
committerDiana Picus <diana.picus@linaro.org>2017-04-11 10:07:12 +0000
commitb050c7fbe0b2a40fa51c8235083d9a4bd4c38dac (patch)
tree0d0c8e860c034407198d77f05d83ee9b091afc81 /llvm/tools/lli/lli.cpp
parentd4fa2e634876672a680a300442ed917761a8c3ff (diff)
downloadbcm5719-llvm-b050c7fbe0b2a40fa51c8235083d9a4bd4c38dac.tar.gz
bcm5719-llvm-b050c7fbe0b2a40fa51c8235083d9a4bd4c38dac.zip
Revert "Turn some C-style vararg into variadic templates"
This reverts commit r299925 because it broke the buildbots. See e.g. http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15/builds/6008 llvm-svn: 299928
Diffstat (limited to 'llvm/tools/lli/lli.cpp')
-rw-r--r--llvm/tools/lli/lli.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp
index f228a361945..0823ff469de 100644
--- a/llvm/tools/lli/lli.cpp
+++ b/llvm/tools/lli/lli.cpp
@@ -606,7 +606,8 @@ int main(int argc, char **argv, char * const *envp) {
// If the program doesn't explicitly call exit, we will need the Exit
// function later on to make an explicit call, so get the function now.
Constant *Exit = Mod->getOrInsertFunction("exit", Type::getVoidTy(Context),
- Type::getInt32Ty(Context));
+ Type::getInt32Ty(Context),
+ nullptr);
// Run static constructors.
if (!ForceInterpreter) {
OpenPOWER on IntegriCloud