Revert 91528 and use a std::vector instead, fixing an abuse of std::string.
[oota-llvm.git] / lib / System / README.txt
index 4a73c95056e8f0dfc2a2999f8455d4e9ece977e9..eacb20094a61b1e8baf065a2ce24b26e1db6d7d4 100644 (file)
@@ -15,7 +15,7 @@ porting is this library.
 Complete documentation for the library can be found in the file:
   llvm/docs/SystemLibrary.html 
 or at this URL:
-  http://llvm.cs.uiuc.edu/docs/SystemLibrary.html
+  http://llvm.org/docs/SystemLibrary.html
 
 While we recommend that you read the more detailed documentation, for the 
 impatient, here's a high level summary of the library's requirements.
@@ -25,8 +25,8 @@ impatient, here's a high level summary of the library's requirements.
  3. No exposed system-specific functions.
  4. No exposed system-specific data.
  5. Data in lib/System classes must use only simple C++ intrinsic types.
- 6. Errors are handled by throwing std::string *only*.
- 7. Library must not throw any exceptions except std::string.
+ 6. Errors are handled by returning "true" and setting an optional std::string
+ 7. Library must not throw any exceptions, period.
  8. Interface functions must not have throw() specifications.
  9. No duplicate function impementations are permitted within an operating
     system class.