Re: [Beignet] [PATCH 1/2] GBE: Handle null and uninitialized pointer when do pointer/bti analysis.

2016-07-18 Thread Song, Ruiling
> -Original Message- > From: Song, Ruiling > Sent: Monday, July 4, 2016 3:58 PM > To: beignet@lists.freedesktop.org > Cc: Song, Ruiling > Subject: [PATCH 1/2] GBE: Handle null and uninitialized pointer when do > pointer/bti analysis. > > a pointer array may be initialized to null or eve

[Beignet] [PATCH 1/2] GBE: Handle null and uninitialized pointer when do pointer/bti analysis.

2016-07-04 Thread Ruiling Song
a pointer array may be initialized to null or even not initialized. under this cases, simply give bti_private to the pointer. Signed-off-by: Ruiling Song --- backend/src/llvm/llvm_gen_backend.cpp | 41 ++- 1 file changed, 31 insertions(+), 10 deletions(-) diff --