clang is built without rtti; no chance to find its typeinfo.
This commit is contained in:
parent
e4da5f2858
commit
9c383fcef3
@ -7,7 +7,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: clang -shared %S/address_lib.c -olibaddress_lib%shlibext
|
||||
// RUN: cat %s | %cling -L. | FileCheck %s
|
||||
// RUN: cat %s | %cling -L. -fno-rtti | FileCheck %s
|
||||
extern "C" int printf(const char*,...);
|
||||
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %cling | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti | FileCheck %s
|
||||
|
||||
// This test makes sure the interpreter doesn't create many useless empty
|
||||
// transactions.
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %cling 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// Test findArgList
|
||||
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %cling 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// Test lookupData
|
||||
|
||||
.rawInput 1
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %cling 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// Test lookupFunctionArgs()
|
||||
.rawInput
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %cling 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// Test findScope, which is esentially is a DeclContext.
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
#include "cling/Interpreter/LookupHelper.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %cling 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// Test findClassTemplate, which is esentially is a DeclContext.
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
#include "cling/Interpreter/LookupHelper.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %cling 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// Test Interpreter::lookupType()
|
||||
//
|
||||
#include "cling/Interpreter/Interpreter.h"
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %cling 2>&1 | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti 2>&1 | FileCheck %s
|
||||
// XFAIL:*
|
||||
|
||||
// This test assures that varidiac funcions can be found by our string-based
|
||||
|
@ -6,7 +6,7 @@
|
||||
// LICENSE.TXT for details.
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// RUN: cat %s | %cling | FileCheck %s
|
||||
// RUN: cat %s | %cling -fno-rtti | FileCheck %s
|
||||
|
||||
// The test verifies the expected behavior in cling::utils::Transform class,
|
||||
// which is supposed to provide different transformation of AST nodes and types.
|
||||
|
Loading…
x
Reference in New Issue
Block a user