From: Axel Naumann Date: Fri, 15 Aug 2014 12:33:51 +0000 (+0200) Subject: Force inclusion of throwNullDerefException(), CMake needs it. X-Git-Tag: v6-02-00-rc1~391 X-Git-Url: https://root.cern.ch/gitweb?p=root.git;a=commitdiff_plain;h=a27cd8e6d847844ede2a6c44d5f7f270efefd510 Force inclusion of throwNullDerefException(), CMake needs it. --- diff --git a/interpreter/cling/lib/Interpreter/RequiredSymbols.cpp b/interpreter/cling/lib/Interpreter/RequiredSymbols.cpp index 15eb343..c68a368 100644 --- a/interpreter/cling/lib/Interpreter/RequiredSymbols.cpp +++ b/interpreter/cling/lib/Interpreter/RequiredSymbols.cpp @@ -15,6 +15,8 @@ #include "clang/AST/Type.h" #include "llvm/Support/raw_ostream.h" +extern "C" void cling__runtime__internal__throwNullDerefException(void*, void*); + namespace cling { namespace internal { void symbol_requester() { @@ -27,6 +29,7 @@ void symbol_requester() { h.findFunctionProto(0, "", "", LookupHelper::NoDiagnostics); h.findFunctionArgs(0, "", "", LookupHelper::NoDiagnostics); runtime::internal::DynamicExprInfo DEI(0,0,false); + cling__runtime__internal__throwNullDerefException(0, 0); DEI.getExpr(); } }