segfault with -serialize

$ cat main.c
int main(int argc, char *argv)
{
        printf("argc: %d\n", argc);
        printf("argv[0]: %s\n", argv[0]);
}

$ clang main.c -serialize
clang[0x8375f51]
Segmentation fault

Unfortunately, right now I have a release build, so the backtrace
doesn't say too much:

(gdb) bt
#0 0x096bae28 in ?? ()
#1 0x0823ce14 in clang::TranslationUnit::~TranslationUnit ()
#2 0xb7e10ff4 in ?? () from /lib/tls/i686/cmov/libc.so.6
#3 0xb7e124c0 in ?? () from /lib/tls/i686/cmov/libc.so.6
#4 0xbf885fa0 in ?? ()
#5 0x096b9c88 in ?? ()
#6 0x096b9ae8 in ?? ()
#7 0xb7e124c0 in ?? () from /lib/tls/i686/cmov/libc.so.6
#8 0x096bfd98 in ?? ()
#9 0x096bfda0 in ?? ()
#10 0x00000000 in ?? ()

Thanks for the report; fixed committed.

For future reference, it's easier to keep track of bug reports in
Bugzilla; reports to the list tend to get lost.

-Eli