Home | History | Annotate | only in /external/llvm/lib/Support
Up to higher level directory
NameDateSize
Allocator.cpp08-Oct-20151.3K
Android.mk08-Oct-20152.5K
APFloat.cpp08-Oct-2015116.4K
APInt.cpp08-Oct-201587.9K
APSInt.cpp08-Oct-2015779
ARMBuildAttrs.cpp08-Oct-20154K
ARMWinEH.cpp08-Oct-20151K
Atomic.cpp08-Oct-20153K
BlockFrequency.cpp08-Oct-20151.9K
BranchProbability.cpp08-Oct-20152K
circular_raw_ostream.cpp08-Oct-20151.3K
CMakeLists.txt08-Oct-20152.5K
CommandLine.cpp08-Oct-201564.7K
Compression.cpp08-Oct-20153.7K
ConvertUTF.c08-Oct-201526.4K
ConvertUTFWrapper.cpp08-Oct-20155.8K
COPYRIGHT.regex08-Oct-20152.7K
CrashRecoveryContext.cpp08-Oct-201511K
DAGDeltaAlgorithm.cpp08-Oct-201512.4K
DataExtractor.cpp08-Oct-20154.9K
DataStream.cpp08-Oct-20152.7K
Debug.cpp08-Oct-20155.2K
DeltaAlgorithm.cpp08-Oct-20153.4K
Dwarf.cpp08-Oct-201526.3K
DynamicLibrary.cpp08-Oct-20155.1K
Errno.cpp08-Oct-20152.2K
ErrorHandling.cpp08-Oct-20157.8K
FileOutputBuffer.cpp08-Oct-20153.4K
FileUtilities.cpp08-Oct-20158.6K
FoldingSet.cpp08-Oct-201514.3K
FormattedStream.cpp08-Oct-20153.4K
GraphWriter.cpp08-Oct-20157.9K
Hashing.cpp08-Oct-20151.1K
Host.cpp08-Oct-201529.5K
IntEqClasses.cpp08-Oct-20152.1K
IntervalMap.cpp08-Oct-20154.3K
IntrusiveRefCntPtr.cpp08-Oct-2015445
LEB128.cpp08-Oct-20151.2K
LineIterator.cpp08-Oct-20152.6K
LLVMBuild.txt08-Oct-2015669
Locale.cpp08-Oct-2015837
LockFileManager.cpp08-Oct-20156.6K
Makefile08-Oct-2015699
ManagedStatic.cpp08-Oct-20152.6K
MathExtras.cpp08-Oct-2015885
MD5.cpp08-Oct-20158.9K
Memory.cpp08-Oct-2015802
MemoryBuffer.cpp08-Oct-201514.4K
MemoryObject.cpp08-Oct-2015440
Mutex.cpp08-Oct-20153.2K
Options.cpp08-Oct-20151.1K
Path.cpp08-Oct-201529.4K
PluginLoader.cpp08-Oct-20151.6K
PrettyStackTrace.cpp08-Oct-20154.9K
Process.cpp08-Oct-20152.3K
Program.cpp08-Oct-20152.4K
RandomNumberGenerator.cpp08-Oct-20151.9K
raw_os_ostream.cpp08-Oct-2015967
raw_ostream.cpp08-Oct-201524.3K
README.txt.system08-Oct-20151.9K
regcclass.h08-Oct-20152.9K
regcname.h08-Oct-20154.2K
regcomp.c08-Oct-201536.2K
regengine.inc08-Oct-201526.5K
regerror.c08-Oct-20154.4K
Regex.cpp08-Oct-20155.3K
regex2.h08-Oct-20156.8K
regex_impl.h08-Oct-20153.6K
regexec.c08-Oct-20155.7K
regfree.c08-Oct-20152.5K
regstrlcpy.c08-Oct-20151.6K
regutils.h08-Oct-20152.3K
RWMutex.cpp08-Oct-20153.2K
ScaledNumber.cpp08-Oct-20159K
SearchForAddressOfSpecialSymbol.cpp08-Oct-20151.7K
Signals.cpp08-Oct-20151.1K
SmallPtrSet.cpp08-Oct-201511.1K
SmallVector.cpp08-Oct-20151.5K
SourceMgr.cpp08-Oct-201515.9K
SpecialCaseList.cpp08-Oct-20155.8K
Statistic.cpp08-Oct-20155.1K
StreamingMemoryObject.cpp08-Oct-20153.7K
StringExtras.cpp08-Oct-20152.3K
StringMap.cpp08-Oct-20158.6K
StringPool.cpp08-Oct-2015978
StringRef.cpp08-Oct-201514.3K
SystemUtils.cpp08-Oct-20151.1K
TargetRegistry.cpp08-Oct-20154.6K
Threading.cpp08-Oct-20153.2K
ThreadLocal.cpp08-Oct-20151.7K
Timer.cpp08-Oct-201511.9K
TimeValue.cpp08-Oct-20151.5K
ToolOutputFile.cpp08-Oct-20151.6K
Triple.cpp08-Oct-201535.5K
Twine.cpp08-Oct-20154K
Unicode.cpp08-Oct-201520.1K
Unix/08-Oct-2015
Valgrind.cpp08-Oct-20152.6K
Watchdog.cpp08-Oct-2015712
Windows/08-Oct-2015
YAMLParser.cpp08-Oct-201560.7K
YAMLTraits.cpp08-Oct-201522.5K

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