TheModule->setTargetTriple(triple);
if (Handler)
Handler->handleTargetTriple(triple);
-
- // Read the data layout string and place into the module.
- std::string datalayout = read_str();
- TheModule->setDataLayout(datalayout);
- // FIXME: Implement
- // if (Handler)
- // Handler->handleDataLayout(datalayout);
if (At != BlockEnd) {
// If the file has section info in it, read the section names now.
// Output the target triple from the module
output(M->getTargetTriple());
-
- // Output the data layout from the module
- output(M->getDataLayout());
// Emit the table of section names.
output_vbr((unsigned)SectionNames.size());