Home | History | Annotate | only in /external/llvm/lib/Support
Up to higher level directory
NameDateSize
Allocator.cpp23-Apr-20151.5K
Android.mk23-Apr-20152.4K
APFloat.cpp23-Apr-2015115.1K
APInt.cpp23-Apr-201587.3K
APSInt.cpp23-Apr-2015779
ARMBuildAttrs.cpp23-Apr-20154K
ARMWinEH.cpp23-Apr-20151K
Atomic.cpp23-Apr-20153K
BlockFrequency.cpp23-Apr-20151.9K
BranchProbability.cpp23-Apr-20152K
circular_raw_ostream.cpp23-Apr-20151.3K
CMakeLists.txt23-Apr-20153K
CommandLine.cpp23-Apr-201562.4K
Compression.cpp23-Apr-20153.3K
ConvertUTF.c23-Apr-201526.4K
ConvertUTFWrapper.cpp23-Apr-20154.4K
COPYRIGHT.regex23-Apr-20152.7K
CrashRecoveryContext.cpp23-Apr-201511K
DAGDeltaAlgorithm.cpp23-Apr-201512.7K
DataExtractor.cpp23-Apr-20154.9K
DataStream.cpp23-Apr-20152.7K
Debug.cpp23-Apr-20154.6K
DeltaAlgorithm.cpp23-Apr-20153.4K
Disassembler.cpp23-Apr-20151.7K
Dwarf.cpp23-Apr-201542.1K
DynamicLibrary.cpp23-Apr-20155.1K
Errno.cpp23-Apr-20152.1K
ErrorHandling.cpp23-Apr-20157.8K
FileOutputBuffer.cpp23-Apr-20153.1K
FileUtilities.cpp23-Apr-20158.6K
FoldingSet.cpp23-Apr-201514.2K
FormattedStream.cpp23-Apr-20153.4K
GraphWriter.cpp23-Apr-20157.2K
Hashing.cpp23-Apr-20151.1K
Host.cpp23-Apr-201526.3K
IncludeFile.cpp23-Apr-2015707
IntEqClasses.cpp23-Apr-20152.1K
IntervalMap.cpp23-Apr-20154.3K
IntrusiveRefCntPtr.cpp23-Apr-2015445
IsInf.cpp23-Apr-20151.5K
IsNAN.cpp23-Apr-2015914
LEB128.cpp23-Apr-20151.2K
LineIterator.cpp23-Apr-20151.9K
LLVMBuild.txt23-Apr-2015669
Locale.cpp23-Apr-2015837
LockFileManager.cpp23-Apr-20157.3K
Makefile23-Apr-2015699
ManagedStatic.cpp23-Apr-20152.6K
MD5.cpp23-Apr-20159K
Memory.cpp23-Apr-2015802
MemoryBuffer.cpp23-Apr-201514.1K
MemoryObject.cpp23-Apr-2015850
Mutex.cpp23-Apr-20153.2K
Path.cpp23-Apr-201529.5K
PluginLoader.cpp23-Apr-20151.6K
PrettyStackTrace.cpp23-Apr-20154.6K
Process.cpp23-Apr-20153.9K
Program.cpp23-Apr-20152.3K
RandomNumberGenerator.cpp23-Apr-20151.8K
raw_os_ostream.cpp23-Apr-2015967
raw_ostream.cpp23-Apr-201522.8K
README.txt.system23-Apr-20151.9K
regcclass.h23-Apr-20152.9K
regcname.h23-Apr-20154.2K
regcomp.c23-Apr-201535.8K
regengine.inc23-Apr-201526.5K
regerror.c23-Apr-20154.4K
Regex.cpp23-Apr-20155.3K
regex2.h23-Apr-20156.8K
regex_impl.h23-Apr-20153.6K
regexec.c23-Apr-20155.7K
regfree.c23-Apr-20152.5K
regstrlcpy.c23-Apr-20151.6K
regutils.h23-Apr-20152.3K
RWMutex.cpp23-Apr-20153.2K
ScaledNumber.cpp23-Apr-20158.8K
SearchForAddressOfSpecialSymbol.cpp23-Apr-20151.7K
Signals.cpp23-Apr-20151.1K
SmallPtrSet.cpp23-Apr-201510.9K
SmallVector.cpp23-Apr-20151.5K
SourceMgr.cpp23-Apr-201516K
SpecialCaseList.cpp23-Apr-20155.7K
Statistic.cpp23-Apr-20155.1K
StreamableMemoryObject.cpp23-Apr-20154.3K
StringExtras.cpp23-Apr-20152.3K
StringMap.cpp23-Apr-20158.5K
StringPool.cpp23-Apr-2015978
StringRef.cpp23-Apr-201514.2K
StringRefMemoryObject.cpp23-Apr-2015946
SystemUtils.cpp23-Apr-20151.2K
TargetRegistry.cpp23-Apr-20154.7K
Threading.cpp23-Apr-20153.2K
ThreadLocal.cpp23-Apr-20152.7K
Timer.cpp23-Apr-201512K
TimeValue.cpp23-Apr-20151.8K
ToolOutputFile.cpp23-Apr-20151.6K
Triple.cpp23-Apr-201528.9K
Twine.cpp23-Apr-20154K
Unicode.cpp23-Apr-201520.1K
Unix/23-Apr-2015
Valgrind.cpp23-Apr-20152.6K
Watchdog.cpp23-Apr-2015712
Windows/23-Apr-2015
YAMLParser.cpp23-Apr-201560.8K
YAMLTraits.cpp23-Apr-201521.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