Home | History | Annotate | only in /external/llvm/lib/Support
Up to higher level directory
NameDateSize
Allocator.cpp21-Oct-20161.3K
Android.mk21-Oct-20162.5K
APFloat.cpp21-Oct-2016117.1K
APInt.cpp21-Oct-201687.5K
APSInt.cpp21-Oct-20161.4K
ARMBuildAttrs.cpp21-Oct-20164K
ARMWinEH.cpp21-Oct-20161K
Atomic.cpp21-Oct-20163K
BlockFrequency.cpp21-Oct-20162.1K
BranchProbability.cpp21-Oct-20163.4K
circular_raw_ostream.cpp21-Oct-20161.3K
CMakeLists.txt21-Oct-20162.7K
COM.cpp21-Oct-2016702
CommandLine.cpp21-Oct-201663.9K
Compression.cpp21-Oct-20163.7K
ConvertUTF.c21-Oct-201626.4K
ConvertUTFWrapper.cpp21-Oct-20165.8K
COPYRIGHT.regex21-Oct-20162.7K
CrashRecoveryContext.cpp21-Oct-201611.4K
DAGDeltaAlgorithm.cpp21-Oct-201612.4K
DataExtractor.cpp21-Oct-20164.9K
DataStream.cpp21-Oct-20162.7K
Debug.cpp21-Oct-20165.2K
DeltaAlgorithm.cpp21-Oct-20163.4K
Dwarf.cpp21-Oct-201629.2K
DynamicLibrary.cpp21-Oct-20165.3K
Errno.cpp21-Oct-20162.2K
ErrorHandling.cpp21-Oct-20167.8K
FileOutputBuffer.cpp21-Oct-20163.5K
FileUtilities.cpp21-Oct-20168.6K
FoldingSet.cpp21-Oct-201614.8K
FormattedStream.cpp21-Oct-20163.4K
GraphWriter.cpp21-Oct-20168.5K
Hashing.cpp21-Oct-20161.1K
Host.cpp21-Oct-201631K
IntEqClasses.cpp21-Oct-20162.1K
IntervalMap.cpp21-Oct-20164.3K
IntrusiveRefCntPtr.cpp21-Oct-2016445
JamCRC.cpp21-Oct-20164.2K
LEB128.cpp21-Oct-20161.2K
LineIterator.cpp21-Oct-20162.6K
LLVMBuild.txt21-Oct-2016669
Locale.cpp21-Oct-2016870
LockFileManager.cpp21-Oct-20169.1K
Makefile21-Oct-2016699
ManagedStatic.cpp21-Oct-20162.6K
MathExtras.cpp21-Oct-2016885
MD5.cpp21-Oct-20168.9K
Memory.cpp21-Oct-2016802
MemoryBuffer.cpp21-Oct-201614.5K
MemoryObject.cpp21-Oct-2016440
Mutex.cpp21-Oct-20163.2K
Options.cpp21-Oct-20161.1K
Path.cpp21-Oct-201631.5K
PluginLoader.cpp21-Oct-20161.6K
PrettyStackTrace.cpp21-Oct-20165.2K
Process.cpp21-Oct-20162.4K
Program.cpp21-Oct-20162.4K
RandomNumberGenerator.cpp21-Oct-20161.9K
raw_os_ostream.cpp21-Oct-2016967
raw_ostream.cpp21-Oct-201622K
README.txt.system21-Oct-20161.9K
regcclass.h21-Oct-20162.9K
regcname.h21-Oct-20164.2K
regcomp.c21-Oct-201636.2K
regengine.inc21-Oct-201626.5K
regerror.c21-Oct-20164.4K
Regex.cpp21-Oct-20165.3K
regex2.h21-Oct-20166.8K
regex_impl.h21-Oct-20163.6K
regexec.c21-Oct-20165.7K
regfree.c21-Oct-20162.5K
regstrlcpy.c21-Oct-20161.6K
regutils.h21-Oct-20162.3K
RWMutex.cpp21-Oct-20163.2K
ScaledNumber.cpp21-Oct-20169K
SearchForAddressOfSpecialSymbol.cpp21-Oct-20161.7K
Signals.cpp21-Oct-20166.2K
SmallPtrSet.cpp21-Oct-201611.1K
SmallVector.cpp21-Oct-20161.5K
SourceMgr.cpp21-Oct-201615.9K
SpecialCaseList.cpp21-Oct-20165.8K
Statistic.cpp21-Oct-20165K
StreamingMemoryObject.cpp21-Oct-20164K
StringExtras.cpp21-Oct-20162.3K
StringMap.cpp21-Oct-20168.6K
StringPool.cpp21-Oct-2016978
StringRef.cpp21-Oct-201615.1K
StringSaver.cpp21-Oct-2016566
SystemUtils.cpp21-Oct-20161.1K
TargetParser.cpp21-Oct-201616.9K
TargetRegistry.cpp21-Oct-20164.6K
Threading.cpp21-Oct-20163.2K
ThreadLocal.cpp21-Oct-20161.7K
ThreadPool.cpp21-Oct-20164.8K
Timer.cpp21-Oct-201611.6K
TimeValue.cpp21-Oct-20161.5K
ToolOutputFile.cpp21-Oct-20161.6K
Triple.cpp21-Oct-201642.5K
Twine.cpp21-Oct-20164K
Unicode.cpp21-Oct-201620.1K
Unix/21-Oct-2016
Valgrind.cpp21-Oct-20161.6K
Watchdog.cpp21-Oct-2016712
Windows/21-Oct-2016
YAMLParser.cpp21-Oct-201668.3K
YAMLTraits.cpp21-Oct-201624.3K

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