mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
LLVM 4.0: Merge r292641 "[ThinLTO] Fix lazy-loading of MDString instruction attachments"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_40@292760 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -512,7 +512,7 @@ private:
|
||||
}
|
||||
|
||||
Metadata *getFnMetadataByID(unsigned ID) {
|
||||
return MDLoader->getMetadataFwdRef(ID);
|
||||
return MDLoader->getMetadataFwdRefOrLoad(ID);
|
||||
}
|
||||
|
||||
BasicBlock *getBasicBlock(unsigned ID) const {
|
||||
|
||||
Reference in New Issue
Block a user