When I generate the .tu files, there is no information about the body of the functions. How can I generate this?
More likely, you code is regular C and you are using gcc to dump the translation unit. It appears that this is not emitted by gcc, but is by g++. So the simplest thing to do is use g++ to generate the translation unit output. To avoid name mangling, etc. you can enclose the original C code within an
 extern "C" {

 }
block. For example, create a new file named tmp.cc and have its contents be
 extern "C" {
  #include "originalFile.c"
 }

Duncan Temple Lang <duncan@research.bell-labs.com>
Last modified: Wed Jan 15 09:04:27 UTC 2003