aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Writer/Writer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-23 23:43:17 +0000
committerChris Lattner <sabre@nondot.org>2006-01-23 23:43:17 +0000
commit7e6db764b15007860c4384311db97cce1618705e (patch)
treec663fb3ee44c4ce8093960372b6e1a31d40b069d /lib/Bytecode/Writer/Writer.cpp
parent45f50511496d36b8a36ea66f4965725a9866f192 (diff)
Add support for reading/writing inline asm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/Writer.cpp')
-rw-r--r--lib/Bytecode/Writer/Writer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp
index c82665e947..ec0b250dce 100644
--- a/lib/Bytecode/Writer/Writer.cpp
+++ b/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) {