Ported to old llvm-dev

This breaks the code generator even more, but is needed to allow development to
go on.  Disable calling the code generate from select.c as well.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
table-backend-writeonce: Bump major version and add version check

The table format was changed a few commits ago, and the new and old code is not
interoperable.  This fix makes new tools abort when called on old tables.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
ca-sort: Parse the --debug command line option

Previously, there was only the do_debug variable, but no way to set it.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
ts-merge: Support the --debug command line option

For now, excluding --debug suppresses the incessant "Sorting" messages.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
ca-table.h: Document the return value semantics of ca_table_seek_to_key

ca_table_seek_to_key is more complicated than most functions in that it can
return either -1, 0 or 1, all meaning different things.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>