diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-23 23:43:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-23 23:43:17 +0000 |
commit | bc7b2581cb34bca623b2525e2efdf9a1261d8888 (patch) | |
tree | d992ae2518e82eaffa4e2e745537752786ae2a29 /llvm/lib/Bytecode/Writer/Writer.cpp | |
parent | a10387b99ab29607473c94a12d26466c962b2b9d (diff) | |
download | bcm5719-llvm-bc7b2581cb34bca623b2525e2efdf9a1261d8888.tar.gz bcm5719-llvm-bc7b2581cb34bca623b2525e2efdf9a1261d8888.zip |
Add support for reading/writing inline asm
llvm-svn: 25564
Diffstat (limited to 'llvm/lib/Bytecode/Writer/Writer.cpp')
-rw-r--r-- | llvm/lib/Bytecode/Writer/Writer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Bytecode/Writer/Writer.cpp b/llvm/lib/Bytecode/Writer/Writer.cpp index c82665e9478..ec0b250dce8 100644 --- a/llvm/lib/Bytecode/Writer/Writer.cpp +++ b/llvm/lib/Bytecode/Writer/Writer.cpp @@ -1030,6 +1030,9 @@ void BytecodeWriter::outputModuleInfoBlock(const Module *M) { output_vbr((unsigned)SectionNames.size()); for (unsigned i = 0, e = SectionNames.size(); i != e; ++i) output(SectionNames[i]); + + // Output the inline asm string. + output(M->getInlineAsm()); } void BytecodeWriter::outputInstructions(const Function *F) { |