aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-02 16:48:38 +0000
committerOwen Anderson <resistor@mac.com>2009-07-02 16:48:38 +0000
commitbe3fe4e48d9a358c3f232fe509a5bf2ad3485765 (patch)
tree75728e4ed002bf3737376830dc2db0bc33c5f714 /docs
parent0fd4febc137cec041a70eea2a2a28fbeb01dc70d (diff)
downloadexternal_llvm-be3fe4e48d9a358c3f232fe509a5bf2ad3485765.zip
external_llvm-be3fe4e48d9a358c3f232fe509a5bf2ad3485765.tar.gz
external_llvm-be3fe4e48d9a358c3f232fe509a5bf2ad3485765.tar.bz2
Describe the LLVMContext API change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74701 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/ReleaseNotes-2.6.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/ReleaseNotes-2.6.html b/docs/ReleaseNotes-2.6.html
index 412db74..eed5caf 100644
--- a/docs/ReleaseNotes-2.6.html
+++ b/docs/ReleaseNotes-2.6.html
@@ -419,7 +419,7 @@ it run faster:</p>
<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 @@ from the previous release.</p>
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>