Skip to content

Commit

Permalink
JIT exception support missing for powerpc64.
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel-Naumann authored and sftnight committed Jul 29, 2016
1 parent 92716fc commit 494733c
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/NullDeref/BinOp.C
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//------------------------------------------------------------------------------

// RUN: cat %s | %cling -Xclang -verify
// XFAIL: powerpc64
//This file checks a pointer load operation for null prt dereference.
int *p = 0;
int x;
Expand Down
1 change: 1 addition & 0 deletions test/NullDeref/Cast.C
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//------------------------------------------------------------------------------

// RUN: cat %s | %cling -Xclang -verify
// XFAIL: powerpc64
//This file checks a pointer load operation for null prt dereference.
int *p = 0;;
double x;
Expand Down
1 change: 1 addition & 0 deletions test/NullDeref/ExecutionTermination.C
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//------------------------------------------------------------------------------

// RUN: cat %s | %cling -Xclang -verify
// XFAIL: powerpc64
//This file checks that the execution ends after a null prt dereference.

#include <stdlib.h>
Expand Down
1 change: 1 addition & 0 deletions test/NullDeref/If.C
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//------------------------------------------------------------------------------

// RUN: cat %s | %cling -Xclang -verify
// XFAIL: powerpc64
//This file checks an if statement for null prt dereference.

#include <stdlib.h>
Expand Down
1 change: 1 addition & 0 deletions test/NullDeref/InvalidMemoryAddress.C
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//------------------------------------------------------------------------------

// RUN: cat %s | %cling -Xclang -verify
// XFAIL: powerpc64
//This file checks a dereference of an invalid memory address pointer..
int *p = (int*)0x1;
*p; // expected-warning {{invalid memory pointer passed to a callee:}}
1 change: 1 addition & 0 deletions test/NullDeref/Load.C
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//------------------------------------------------------------------------------

// RUN: cat %s | %cling -Xclang -verify
// XFAIL: powerpc64
//This file checks a pointer load operation for null prt dereference.
int *p;
int x;
Expand Down
1 change: 1 addition & 0 deletions test/NullDeref/MethodCalls.C
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//------------------------------------------------------------------------------

// RUN: cat %s | %cling -Xclang -verify
// XFAIL: powerpc64
// This test verifies that we get nice warning if a method on null ptr object is
// called.

Expand Down
1 change: 1 addition & 0 deletions test/NullDeref/NonNullArg.C
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//------------------------------------------------------------------------------

// RUN: cat %s | %cling -Xclang -verify | FileCheck %s
// XFAIL: powerpc64
//This file checks a call instruction. The called function has arguments with nonnull attribute.
extern "C" int printf(const char* fmt, ...);
.rawInput 1
Expand Down
1 change: 1 addition & 0 deletions test/NullDeref/NonNullArgCustom.C
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//------------------------------------------------------------------------------

// RUN: cat %s | %cling -Xclang -verify
// XFAIL: powerpc64

// We must be able to handle cases where, there is a custom function that has
// attributes non-null arguments and we should be able to add a non-null arg
Expand Down
1 change: 1 addition & 0 deletions test/NullDeref/Store.C
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//------------------------------------------------------------------------------

// RUN: cat %s | %cling -Xclang -verify
// XFAIL: powerpc64

//This file checks a pointer store operation for null ptr dereference.
int *p;
Expand Down

0 comments on commit 494733c

Please sign in to comment.