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.
@@ -433,6 +433,13 @@ from the previous release.
API changes are:
+- LLVM's global uniquing tables for Types and Constants have
+ been privatized into members of an LLVMContext. A number of APIs
+ now take an LLVMContext as a parameter. To smooth the transition
+ for clients that will only ever use a single context, the new
+ getGlobalContext() API can be used to access a default global
+ context which can be passed in any and all cases where a context is
+ required.
- The getABITypeSize methods are now called getAllocSize.