Home | History | Annotate | only in /external/llvm/lib/Support
Up to higher level directory
NameDateSize
Allocator.cpp04-Nov-20141.5K
Android.mk04-Nov-20142.4K
APFloat.cpp04-Nov-2014115.1K
APInt.cpp04-Nov-201487.3K
APSInt.cpp04-Nov-2014779
ARMBuildAttrs.cpp04-Nov-20144K
ARMWinEH.cpp04-Nov-20141K
Atomic.cpp04-Nov-20143K
BlockFrequency.cpp04-Nov-20141.9K
BranchProbability.cpp04-Nov-20142K
circular_raw_ostream.cpp04-Nov-20141.3K
CMakeLists.txt04-Nov-20143K
CommandLine.cpp04-Nov-201462.4K
Compression.cpp04-Nov-20143.3K
ConvertUTF.c04-Nov-201426.4K
ConvertUTFWrapper.cpp04-Nov-20144.4K
COPYRIGHT.regex04-Nov-20142.7K
CrashRecoveryContext.cpp04-Nov-201411K
DAGDeltaAlgorithm.cpp04-Nov-201412.7K
DataExtractor.cpp04-Nov-20144.9K
DataStream.cpp04-Nov-20142.7K
Debug.cpp04-Nov-20144.6K
DeltaAlgorithm.cpp04-Nov-20143.4K
Disassembler.cpp04-Nov-20141.7K
Dwarf.cpp04-Nov-201442.1K
DynamicLibrary.cpp04-Nov-20145.1K
Errno.cpp04-Nov-20142.1K
ErrorHandling.cpp04-Nov-20147.8K
FileOutputBuffer.cpp04-Nov-20143.1K
FileUtilities.cpp04-Nov-20148.6K
FoldingSet.cpp04-Nov-201414.2K
FormattedStream.cpp04-Nov-20143.4K
GraphWriter.cpp04-Nov-20147.2K
Hashing.cpp04-Nov-20141.1K
Host.cpp04-Nov-201426.3K
IncludeFile.cpp04-Nov-2014707
IntEqClasses.cpp04-Nov-20142.1K
IntervalMap.cpp04-Nov-20144.3K
IntrusiveRefCntPtr.cpp04-Nov-2014445
IsInf.cpp04-Nov-20141.5K
IsNAN.cpp04-Nov-2014914
LEB128.cpp04-Nov-20141.2K
LineIterator.cpp04-Nov-20141.9K
LLVMBuild.txt04-Nov-2014669
Locale.cpp04-Nov-2014837
LockFileManager.cpp04-Nov-20147.3K
Makefile04-Nov-2014699
ManagedStatic.cpp04-Nov-20142.6K
MD5.cpp04-Nov-20149K
Memory.cpp04-Nov-2014802
MemoryBuffer.cpp04-Nov-201414.1K
MemoryObject.cpp04-Nov-2014850
Mutex.cpp04-Nov-20143.2K
Path.cpp04-Nov-201429.5K
PluginLoader.cpp04-Nov-20141.6K
PrettyStackTrace.cpp04-Nov-20144.6K
Process.cpp04-Nov-20143.9K
Program.cpp04-Nov-20142.3K
RandomNumberGenerator.cpp04-Nov-20141.8K
raw_os_ostream.cpp04-Nov-2014967
raw_ostream.cpp04-Nov-201422.8K
README.txt.system04-Nov-20141.9K
regcclass.h04-Nov-20142.9K
regcname.h04-Nov-20144.2K
regcomp.c04-Nov-201435.8K
regengine.inc04-Nov-201426.5K
regerror.c04-Nov-20144.4K
Regex.cpp04-Nov-20145.3K
regex2.h04-Nov-20146.8K
regex_impl.h04-Nov-20143.6K
regexec.c04-Nov-20145.7K
regfree.c04-Nov-20142.5K
regstrlcpy.c04-Nov-20141.6K
regutils.h04-Nov-20142.3K
RWMutex.cpp04-Nov-20143.2K
ScaledNumber.cpp04-Nov-20148.8K
SearchForAddressOfSpecialSymbol.cpp04-Nov-20141.7K
Signals.cpp04-Nov-20141.1K
SmallPtrSet.cpp04-Nov-201410.9K
SmallVector.cpp04-Nov-20141.5K
SourceMgr.cpp04-Nov-201416K
SpecialCaseList.cpp04-Nov-20145.7K
Statistic.cpp04-Nov-20145.1K
StreamableMemoryObject.cpp04-Nov-20144.3K
StringExtras.cpp04-Nov-20142.3K
StringMap.cpp04-Nov-20148.5K
StringPool.cpp04-Nov-2014978
StringRef.cpp04-Nov-201414.2K
StringRefMemoryObject.cpp04-Nov-2014946
SystemUtils.cpp04-Nov-20141.2K
TargetRegistry.cpp04-Nov-20144.7K
Threading.cpp04-Nov-20143.2K
ThreadLocal.cpp04-Nov-20142.7K
Timer.cpp04-Nov-201412K
TimeValue.cpp04-Nov-20141.8K
ToolOutputFile.cpp04-Nov-20141.6K
Triple.cpp04-Nov-201428.9K
Twine.cpp04-Nov-20144K
Unicode.cpp04-Nov-201420.1K
Unix/04-Nov-2014
Valgrind.cpp04-Nov-20142.6K
Watchdog.cpp04-Nov-2014712
Windows/04-Nov-2014
YAMLParser.cpp04-Nov-201460.8K
YAMLTraits.cpp04-Nov-201421.8K

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