Skip to content
Snippets Groups Projects
Commit a27cd8e6 authored by Axel Naumann's avatar Axel Naumann
Browse files

Force inclusion of throwNullDerefException(), CMake needs it.

parent eb71a609
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
#include "clang/AST/Type.h" #include "clang/AST/Type.h"
#include "llvm/Support/raw_ostream.h" #include "llvm/Support/raw_ostream.h"
extern "C" void cling__runtime__internal__throwNullDerefException(void*, void*);
namespace cling { namespace cling {
namespace internal { namespace internal {
void symbol_requester() { void symbol_requester() {
...@@ -27,6 +29,7 @@ void symbol_requester() { ...@@ -27,6 +29,7 @@ void symbol_requester() {
h.findFunctionProto(0, "", "", LookupHelper::NoDiagnostics); h.findFunctionProto(0, "", "", LookupHelper::NoDiagnostics);
h.findFunctionArgs(0, "", "", LookupHelper::NoDiagnostics); h.findFunctionArgs(0, "", "", LookupHelper::NoDiagnostics);
runtime::internal::DynamicExprInfo DEI(0,0,false); runtime::internal::DynamicExprInfo DEI(0,0,false);
cling__runtime__internal__throwNullDerefException(0, 0);
DEI.getExpr(); DEI.getExpr();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment