Home | History | Annotate | only in /external/llvm/lib/Support
Up to higher level directory
NameDateSize
Allocator.cpp15-Nov-20115.8K
Android.mk15-Nov-20111.9K
APFloat.cpp15-Nov-2011103K
APInt.cpp15-Nov-201188.4K
APSInt.cpp15-Nov-2011779
Atomic.cpp15-Nov-20113.4K
BranchProbability.cpp15-Nov-20111.1K
circular_raw_ostream.cpp15-Nov-20111.3K
CMakeLists.txt15-Nov-20111.8K
CommandLine.cpp15-Nov-201149.4K
ConstantRange.cpp15-Nov-201122.8K
COPYRIGHT.regex15-Nov-20112.7K
CrashRecoveryContext.cpp15-Nov-20117.4K
DAGDeltaAlgorithm.cpp15-Nov-201112.6K
Debug.cpp15-Nov-20114.6K
DeltaAlgorithm.cpp15-Nov-20113.4K
Disassembler.cpp15-Nov-20111.7K
Dwarf.cpp15-Nov-201135.3K
DynamicLibrary.cpp15-Nov-20114.5K
Errno.cpp15-Nov-20112.1K
ErrorHandling.cpp15-Nov-20113.2K
FileUtilities.cpp15-Nov-20119.1K
FoldingSet.cpp15-Nov-201114K
FormattedStream.cpp15-Nov-20113.3K
GraphWriter.cpp15-Nov-20115.5K
Host.cpp15-Nov-201111K
IncludeFile.cpp15-Nov-2011706
IntEqClasses.cpp15-Nov-20112.1K
IntervalMap.cpp15-Nov-20114.3K
IsInf.cpp15-Nov-20111.5K
IsNAN.cpp15-Nov-2011914
Makefile15-Nov-2011690
ManagedStatic.cpp15-Nov-20112K
Memory.cpp15-Nov-20112.3K
MemoryBuffer.cpp15-Nov-201113.3K
MemoryObject.cpp15-Nov-2011921
Mutex.cpp15-Nov-20114.5K
Path.cpp15-Nov-20118.3K
PathV2.cpp15-Nov-201119.3K
PluginLoader.cpp15-Nov-20111.6K
PrettyStackTrace.cpp15-Nov-20114.1K
Process.cpp15-Nov-20111K
Program.cpp15-Nov-20111.8K
raw_os_ostream.cpp15-Nov-2011967
raw_ostream.cpp15-Nov-201122.1K
README.txt.system15-Nov-20111.9K
regcclass.h15-Nov-20112.9K
regcname.h15-Nov-20114.2K
regcomp.c15-Nov-201134.8K
regengine.inc15-Nov-201126.5K
regerror.c15-Nov-20114.4K
Regex.cpp15-Nov-20114.6K
regex2.h15-Nov-20116.7K
regex_impl.h15-Nov-20113.6K
regexec.c15-Nov-20115.7K
regfree.c15-Nov-20112.5K
regstrlcpy.c15-Nov-20111.6K
regutils.h15-Nov-20112.2K
RWMutex.cpp15-Nov-20114.3K
SearchForAddressOfSpecialSymbol.cpp15-Nov-20112.2K
Signals.cpp15-Nov-20111.1K
SmallPtrSet.cpp15-Nov-20117.4K
SmallVector.cpp15-Nov-20111.4K
SourceMgr.cpp15-Nov-20117.3K
Statistic.cpp15-Nov-20114.7K
StringExtras.cpp15-Nov-20113K
StringMap.cpp15-Nov-20117.9K
StringPool.cpp15-Nov-2011997
StringRef.cpp15-Nov-201111.8K
system_error.cpp15-Nov-20112.8K
SystemUtils.cpp15-Nov-20112.2K
TargetRegistry.cpp15-Nov-20112.7K
Threading.cpp15-Nov-20112.9K
ThreadLocal.cpp15-Nov-20112.4K
Timer.cpp15-Nov-201112K
TimeValue.cpp15-Nov-20111.7K
ToolOutputFile.cpp15-Nov-20111.5K
Triple.cpp15-Nov-201118.7K
Twine.cpp15-Nov-20114.5K
Unix/15-Nov-2011
Valgrind.cpp15-Nov-20111.6K
Windows/15-Nov-2011

README.txt.system

      1 Design Of lib/System
      2 ====================
      3 
      4 The software in this directory is designed to completely shield LLVM from any
      5 and all operating system specific functionality. It is not intended to be a
      6 complete operating system wrapper (such as ACE), but only to provide the
      7 functionality necessary to support LLVM.
      8 
      9 The software located here, of necessity, has very specific and stringent design
     10 rules. Violation of these rules means that cracks in the shield could form and
     11 the primary goal of the library is defeated. By consistently using this library,
     12 LLVM becomes more easily ported to new platforms since the only thing requiring
     13 porting is this library.
     14 
     15 Complete documentation for the library can be found in the file:
     16   llvm/docs/SystemLibrary.html
     17 or at this URL:
     18   http://llvm.org/docs/SystemLibrary.html
     19 
     20 While we recommend that you read the more detailed documentation, for the
     21 impatient, here's a high level summary of the library's requirements.
     22 
     23  1. No system header files are to be exposed through the interface.
     24  2. Std C++ and Std C header files are okay to be exposed through the interface.
     25  3. No exposed system-specific functions.
     26  4. No exposed system-specific data.
     27  5. Data in lib/System classes must use only simple C++ intrinsic types.
     28  6. Errors are handled by returning "true" and setting an optional std::string
     29  7. Library must not throw any exceptions, period.
     30  8. Interface functions must not have throw() specifications.
     31  9. No duplicate function impementations are permitted within an operating
     32     system class.
     33 
     34 To accomplish these requirements, the library has numerous design criteria that
     35 must be satisfied. Here's a high level summary of the library's design criteria:
     36 
     37  1. No unused functionality (only what LLVM needs)
     38  2. High-Level Interfaces
     39  3. Use Opaque Classes
     40  4. Common Implementations
     41  5. Multiple Implementations
     42  6. Minimize Memory Allocation
     43  7. No Virtual Methods
     44