[llvm-commits] [llvm] r74701 - /llvm/trunk/docs/ReleaseNotes-2.6.html

Owen Anderson resistor at mac.com
Thu Jul 2 09:48:45 PDT 2009


Author: resistor
Date: Thu Jul  2 11:48:38 2009
New Revision: 74701

URL: http://llvm.org/viewvc/llvm-project?rev=74701&view=rev
Log:
Describe the LLVMContext API change.

Modified:
    llvm/trunk/docs/ReleaseNotes-2.6.html

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

==============================================================================
--- llvm/trunk/docs/ReleaseNotes-2.6.html (original)
+++ llvm/trunk/docs/ReleaseNotes-2.6.html Thu Jul  2 11:48:38 2009
@@ -419,7 +419,7 @@
 <div class="doc_text">
 
 <p>If you're already an LLVM user or developer with out-of-tree changes based
-on LLVM 2.4, this section lists some "gotchas" that you may run into upgrading
+on LLVM 2.5, this section lists some "gotchas" that you may run into upgrading
 from the previous release.</p>
 
 <ul>
@@ -433,6 +433,13 @@
 API changes are:</p>
 
 <ul>
+<li>LLVM's global uniquing tables for <tt>Type</tt>s and <tt>Constant</tt>s have
+    been privatized into members of an <tt>LLVMContext</tt>.  A number of APIs
+    now take an <tt>LLVMContext</tt> as a parameter.  To smooth the transition
+    for clients that will only ever use a single context, the new 
+    <tt>getGlobalContext()</tt> API can be used to access a default global 
+    context which can be passed in any and all cases where a context is 
+    required.
 <li>The <tt>getABITypeSize</tt> methods are now called <tt>getAllocSize</tt>.</li>
 </ul>
 





More information about the llvm-commits mailing list