Home | History | Annotate | only in /external/llvm/lib/Support
Up to higher level directory
NameDateSize
Allocator.cpp16-Dec-20141.5K
Android.mk10-Mar-20152.4K
APFloat.cpp10-Mar-2015115.1K
APInt.cpp10-Mar-201587.3K
APSInt.cpp16-Dec-2014779
ARMBuildAttrs.cpp16-Dec-20144K
ARMWinEH.cpp16-Dec-20141K
Atomic.cpp16-Dec-20143K
BlockFrequency.cpp16-Dec-20141.9K
BranchProbability.cpp16-Dec-20142K
circular_raw_ostream.cpp16-Dec-20141.3K
CMakeLists.txt10-Mar-20153K
CommandLine.cpp10-Mar-201562.4K
Compression.cpp16-Dec-20143.3K
ConvertUTF.c16-Dec-201426.4K
ConvertUTFWrapper.cpp16-Dec-20144.4K
COPYRIGHT.regex16-Dec-20142.7K
CrashRecoveryContext.cpp16-Dec-201411K
DAGDeltaAlgorithm.cpp16-Dec-201412.7K
DataExtractor.cpp16-Dec-20144.9K
DataStream.cpp10-Mar-20152.7K
Debug.cpp10-Mar-20154.6K
DeltaAlgorithm.cpp16-Dec-20143.4K
Disassembler.cpp10-Mar-20151.7K
Dwarf.cpp10-Mar-201542.1K
DynamicLibrary.cpp16-Dec-20145.1K
Errno.cpp16-Dec-20142.1K
ErrorHandling.cpp10-Mar-20157.8K
FileOutputBuffer.cpp10-Mar-20153.1K
FileUtilities.cpp10-Mar-20158.6K
FoldingSet.cpp16-Dec-201414.2K
FormattedStream.cpp16-Dec-20143.4K
GraphWriter.cpp10-Mar-20157.2K
Hashing.cpp16-Dec-20141.1K
Host.cpp10-Mar-201526.3K
IncludeFile.cpp10-Mar-2015707
IntEqClasses.cpp16-Dec-20142.1K
IntervalMap.cpp16-Dec-20144.3K
IntrusiveRefCntPtr.cpp16-Dec-2014445
IsInf.cpp16-Dec-20141.5K
IsNAN.cpp16-Dec-2014914
LEB128.cpp16-Dec-20141.2K
LineIterator.cpp10-Mar-20151.9K
LLVMBuild.txt16-Dec-2014669
Locale.cpp16-Dec-2014837
LockFileManager.cpp10-Mar-20157.3K
Makefile16-Dec-2014699
ManagedStatic.cpp16-Dec-20142.6K
MD5.cpp10-Mar-20159K
Memory.cpp16-Dec-2014802
MemoryBuffer.cpp10-Mar-201514.1K
MemoryObject.cpp10-Mar-2015850
Mutex.cpp16-Dec-20143.2K
Path.cpp10-Mar-201529.5K
PluginLoader.cpp16-Dec-20141.6K
PrettyStackTrace.cpp16-Dec-20144.6K
Process.cpp16-Dec-20143.9K
Program.cpp16-Dec-20142.3K
RandomNumberGenerator.cpp16-Dec-20141.8K
raw_os_ostream.cpp16-Dec-2014967
raw_ostream.cpp10-Mar-201522.8K
README.txt.system16-Dec-20141.9K
regcclass.h16-Dec-20142.9K
regcname.h16-Dec-20144.2K
regcomp.c16-Dec-201435.8K
regengine.inc16-Dec-201426.5K
regerror.c16-Dec-20144.4K
Regex.cpp16-Dec-20145.3K
regex2.h16-Dec-20146.8K
regex_impl.h16-Dec-20143.6K
regexec.c16-Dec-20145.7K
regfree.c16-Dec-20142.5K
regstrlcpy.c16-Dec-20141.6K
regutils.h16-Dec-20142.3K
RWMutex.cpp16-Dec-20143.2K
ScaledNumber.cpp10-Mar-20158.8K
SearchForAddressOfSpecialSymbol.cpp16-Dec-20141.7K
Signals.cpp16-Dec-20141.1K
SmallPtrSet.cpp10-Mar-201510.9K
SmallVector.cpp16-Dec-20141.5K
SourceMgr.cpp10-Mar-201516K
SpecialCaseList.cpp10-Mar-20155.7K
Statistic.cpp16-Dec-20145.1K
StreamableMemoryObject.cpp10-Mar-20154.3K
StringExtras.cpp16-Dec-20142.3K
StringMap.cpp16-Dec-20148.5K
StringPool.cpp16-Dec-2014978
StringRef.cpp10-Mar-201514.2K
StringRefMemoryObject.cpp10-Mar-2015946
SystemUtils.cpp16-Dec-20141.2K
TargetRegistry.cpp16-Dec-20144.7K
Threading.cpp16-Dec-20143.2K
ThreadLocal.cpp16-Dec-20142.7K
Timer.cpp10-Mar-201512K
TimeValue.cpp10-Mar-20151.8K
ToolOutputFile.cpp10-Mar-20151.6K
Triple.cpp10-Mar-201528.9K
Twine.cpp16-Dec-20144K
Unicode.cpp16-Dec-201420.1K
Unix/10-Mar-2015
Valgrind.cpp16-Dec-20142.6K
Watchdog.cpp16-Dec-2014712
Windows/10-Mar-2015
YAMLParser.cpp10-Mar-201560.8K
YAMLTraits.cpp10-Mar-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