OSDN Git Service

vc4: Switch from errx() to fprintf() and abort().
authorEric Anholt <eric@anholt.net>
Thu, 25 Sep 2014 23:38:38 +0000 (16:38 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 25 Sep 2014 23:41:25 +0000 (16:41 -0700)
commitdb11eb92cfb5a9e7bd1a65a6bd693eaf15e4269a
tree66d0f6eed6b83a52baa74d867b08b0bc9242856d
parent45962fbeee6ef0011e63613fe25c14e7062d3e43
vc4: Switch from errx() to fprintf() and abort().

These are pretty catastrophic, "should never happen" failure paths (though
4 tests in piglit hit them currently, due to a single bug).  An abort()
that you can gdb on easily is probably more useful than a clean exit,
particularly since a bug in piglit framework right now is causing early
exit(1)s to simply not be recorded in the results at all.
src/gallium/drivers/vc4/vc4_bufmgr.c
src/gallium/drivers/vc4/vc4_context.c