Read and write function notes.

llvm-svn: 55657
This commit is contained in:
Devang Patel
2008-09-02 21:47:13 +00:00
parent 805b37ca43
commit ca9d93e627
3 changed files with 8 additions and 1 deletions

View File

@@ -412,6 +412,7 @@ static void WriteModuleInfo(const Module *M, const ValueEnumerator &VE,
Vals.push_back(F->hasSection() ? SectionMap[F->getSection()] : 0);
Vals.push_back(getEncodedVisibility(F));
Vals.push_back(F->hasGC() ? GCMap[F->getGC()] : 0);
Vals.push_back(F->getNotes());
unsigned AbbrevToUse = 0;
Stream.EmitRecord(bitc::MODULE_CODE_FUNCTION, Vals, AbbrevToUse);