From 4fcd607c5614ffb62b4012682d7223c1e93423b6 Mon Sep 17 00:00:00 2001
From: Jeffrey Yasskin
Date: Thu, 28 Jan 2010 01:41:20 +0000
Subject: [PATCH] Record the death of ModuleProvier and GhostLinkage in the
release notes and give upgrade instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94723 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/ReleaseNotes.html | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html
index 8df6cfc95f6..b373e9f14c3 100644
--- a/docs/ReleaseNotes.html
+++ b/docs/ReleaseNotes.html
@@ -608,7 +608,24 @@ from the previous release.
API changes are:
-- ...
+- ModuleProvider has been removed
+and its methods moved to Module and GlobalValue.
+Most clients can remove uses of ExistingModuleProvider,
+replace getBitcodeModuleProvider with
+getLazyBitcodeModule, and pass their Module to
+functions that used to accept ModuleProvider. Clients who
+wrote their own ModuleProviders will need to derive from
+GVMaterializer instead and use
+Module::setMaterializer to attach it to a
+Module.
+
+- GhostLinkage has given up the ghost.
+GlobalValues that have not yet been read from their backing
+storage have the same linkage they will have after being read in.
+Clients must replace calls to
+GlobalValue::hasNotBeenReadFromBitcode with
+GlobalValue::isMaterializable.
--
2.34.1