mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-19 04:26:05 +00:00
Honour aliases visibility when reading from/writing to bitcode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48248 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -422,6 +422,7 @@ static void WriteModuleInfo(const Module *M, const ValueEnumerator &VE,
|
||||
Vals.push_back(VE.getTypeID(AI->getType()));
|
||||
Vals.push_back(VE.getValueID(AI->getAliasee()));
|
||||
Vals.push_back(getEncodedLinkage(AI));
|
||||
Vals.push_back(getEncodedVisibility(AI));
|
||||
unsigned AbbrevToUse = 0;
|
||||
Stream.EmitRecord(bitc::MODULE_CODE_ALIAS, Vals, AbbrevToUse);
|
||||
Vals.clear();
|
||||
|
Reference in New Issue
Block a user