Files
llvm/tools
Andus Yu 4c4c53bae2 llvm-c-test avoid calling malloc(0)
Summary:
As explained in D63668, malloc(0) could return a null pointer. llvm-c-test does not handle this case correctly. Instead of calling malloc(0), avoid the operation altogether.

Authored By: andusy

Reviewers: hubert.reinterpretcast, xingxue, jasonliu, daltenty, cebowleratibm

Reviewed By: hubert.reinterpretcast

Subscribers: mehdi_amini, dexonsmith, jsji, llvm-commits

Tags: LLVM

Differential Revision: https://reviews.llvm.org/D63788

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365144 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-04 14:36:34 +00:00
..
2019-07-02 18:39:32 +00:00
2019-05-27 08:24:06 +00:00
2019-05-13 11:29:25 +00:00
2019-06-26 15:42:42 +00:00
2019-06-19 07:39:53 +00:00