X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FReleaseNotes-2.6.html;h=86d8e4f9e228a5fd1dfb1b84a28083b3e6429a02;hb=cd81f5df27c9a47561be1b9a4059ca3a5dcace4c;hp=6930a316db212156cf982561870051f13284e43b;hpb=3e7b5ca3b968c3639135d6a1504c4a1a7001deae;p=oota-llvm.git
diff --git a/docs/ReleaseNotes-2.6.html b/docs/ReleaseNotes-2.6.html
index 6930a316db2..86d8e4f9e22 100644
--- a/docs/ReleaseNotes-2.6.html
+++ b/docs/ReleaseNotes-2.6.html
@@ -460,8 +460,50 @@ API changes are:
SCEVHandle no longer exists, because reference counting is no
longer done for SCEV* objects, instead const SCEV* should be
used.
+
+Many APIs, notably llvm::Value, now use the StringRef
+and Twine classes instead of passing const char*
+or std::string, as described in
+the Programmer's Manual. Most
+clients should be unaffected by this transition, unless they are used to Value::getName() returning a string. Here are some tips on updating to 2.6:
+
+ - getNameStr() is still available, and matches the old
+ behavior. Replacing getName() calls with this is an safe option,
+ although more efficient alternatives are now possible.
+
+ - If you were just relying on getName() being able to be sent to
+ a std::ostream, consider migrating
+ to llvm::raw_ostream.
+
+ - If you were using getName().c_str() to get a const
+ char* pointer to the name, you can use getName().data().
+ Note that this string (as before), may not be the entire name if the
+ name containts embedded null characters.
+
+ - If you were using operator plus on the result of getName() and
+ treating the result as an std::string, you can either
+ uses Twine::str to get the result as an std::string, or
+ could move to a Twine based design.
+
+ - isName() should be replaced with comparison
+ against getName() (this is now efficient).
+
+
+
+The registration interfaces for backend Targets has changed (what was
+previously TargetMachineRegistry). For backend authors, see the Writing An LLVM Backend guide. For clients, the notable API changes are:
+
+ - TargetMachineRegistry has been renamed
+ to TargetRegistry.
+
+ - Clients should move to using the TargetRegistry::lookupTarget()
+ function to find targets.
+
+
+
llvm-dis now fails if output file exists, instead of dumping to stdout.
-FIXME: describe any other tool changes due to the raw_fd_ostream change
+FIXME: describe any other tool changes due to the raw_fd_ostream change. FIXME:
+This is not an API change, maybe there should be a tool changes section?
temporarely due to Context API change passes should call doInitialization()
method of the pass they inherit from, otherwise Context is NULL.
FIXME: remove this entry when this is no longer needed.
@@ -491,7 +533,6 @@ and 64-bit modes.
support is available for native builds with Visual C++).
Sun UltraSPARC workstations running Solaris 10.
Alpha-based machines running Debian GNU/Linux.
-Itanium-based (IA64) machines running Linux and HP-UX.
The core LLVM infrastructure uses GNU autoconf to adapt itself
@@ -515,7 +556,7 @@ href="http://llvm.org/bugs/">LLVM bug database and submit a bug if
there isn't already one.
-- LLVM will not correctly complie on Solaris and/or OpenSolaris
+
- LLVM will not correctly compile on Solaris and/or OpenSolaris
using the stock GCC 3.x.x series 'out the box',
See: Broken versions of GCC and other tools.
However, A Modern GCC Build
@@ -540,7 +581,7 @@ components, please contact us on the LLVMdev list.
-- The MSIL, IA64, Alpha, SPU, MIPS, and PIC16 backends are experimental.
+- The MSIL, Alpha, SPU, MIPS, and PIC16 backends are experimental.
- The llc "-filetype=asm" (the default) is the only
supported value for this option.
@@ -652,21 +693,6 @@ appropriate nops inserted to ensure restartability.
-
-
-
-
-
-
-- The Itanium backend is highly experimental and has a number of known
- issues. We are looking for a maintainer for the Itanium backend. If you
- are interested, please contact the LLVMdev mailing list.
-
-
-
-