Finding the host datalayout

Hello all,

As we work the last few bugs out of our project for the last release, we need to find a way to set the default datalayout of the LLVM Assembly file we are generating to be that of the host machine. I've seen options for target triples in the Doxygen but not the datalayout. BTW, we're using version 2.6 of LLVM.

--Sam

If you create a TargetMachine for the target, you can ask
getTargetData()->getStringRepresentation(). See
  llvm-gcc-4.2/gcc/llvm-backend.cpp:~499.

- Daniel