[llvm-commits] [llvm] r94723 - /llvm/trunk/docs/ReleaseNotes.html

Jeffrey Yasskin jyasskin at google.com
Wed Jan 27 17:41:21 PST 2010


Author: jyasskin
Date: Wed Jan 27 19:41:20 2010
New Revision: 94723

URL: http://llvm.org/viewvc/llvm-project?rev=94723&view=rev
Log:
Record the death of ModuleProvier and GhostLinkage in the release notes and
give upgrade instructions.

Modified:
    llvm/trunk/docs/ReleaseNotes.html

Modified: llvm/trunk/docs/ReleaseNotes.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ReleaseNotes.html?rev=94723&r1=94722&r2=94723&view=diff

==============================================================================
--- llvm/trunk/docs/ReleaseNotes.html (original)
+++ llvm/trunk/docs/ReleaseNotes.html Wed Jan 27 19:41:20 2010
@@ -608,7 +608,24 @@
 API changes are:</p>
 
 <ul>
-<li>...</li>
+<li><tt>ModuleProvider</tt> has been <a
+href="http://llvm.org/viewvc/llvm-project?view=rev&revision=94686">removed</a>
+and its methods moved to <tt>Module</tt> and <tt>GlobalValue</tt>.
+Most clients can remove uses of <tt>ExistingModuleProvider</tt>,
+replace <tt>getBitcodeModuleProvider</tt> with
+<tt>getLazyBitcodeModule</tt>, and pass their <tt>Module</tt> to
+functions that used to accept <tt>ModuleProvider</tt>.  Clients who
+wrote their own <tt>ModuleProvider</tt>s will need to derive from
+<tt>GVMaterializer</tt> instead and use
+<tt>Module::setMaterializer</tt> to attach it to a
+<tt>Module</tt>.</li>
+
+<li><tt>GhostLinkage</tt> has given up the ghost.
+<tt>GlobalValue</tt>s 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
+<tt>GlobalValue::hasNotBeenReadFromBitcode</tt> with
+<tt>GlobalValue::isMaterializable</tt>.</li>
 </ul>
 
 </div>





More information about the llvm-commits mailing list