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