compiler/blob: Allow for fixed-size blobs with a NULL data pointer
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 13 Oct 2017 04:02:48 +0000 (21:02 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 13 Oct 2017 04:47:06 +0000 (21:47 -0700)
commit8ae03af4ed1ca47a106e5fd7b2d11ce4003aad54
treee8c7ecf1fb5fd8a1d24b7cc9558b6bf7188b3b23
parent26f6d4e5c7f38ab1f55d4cdef7013cc3c730f298
compiler/blob: Allow for fixed-size blobs with a NULL data pointer

These can be used to easily count up the number of bytes that will be
required by "writing" it into the NULL blob.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/compiler/blob.c
src/compiler/blob.h