Home | History | Annotate | only in /external/llvm/lib/Support
Up to higher level directory
NameDateSize
Allocator.cpp20-Jun-20146.2K
Android.mk20-Jun-20142.2K
APFloat.cpp20-Jun-2014114.3K
APInt.cpp20-Jun-201487.3K
APSInt.cpp20-Jun-2014779
Atomic.cpp20-Jun-20143.5K
BlockFrequency.cpp20-Jun-20143.7K
BranchProbability.cpp20-Jun-2014982
circular_raw_ostream.cpp20-Jun-20141.3K
CMakeLists.txt20-Jun-20142K
CommandLine.cpp20-Jun-201461.2K
Compression.cpp20-Jun-20143.6K
ConstantRange.cpp20-Jun-201424.2K
ConvertUTF.c20-Jun-201422.4K
ConvertUTFWrapper.cpp20-Jun-20144.4K
COPYRIGHT.regex20-Jun-20142.7K
CrashRecoveryContext.cpp20-Jun-201410.5K
DAGDeltaAlgorithm.cpp20-Jun-201412.7K
DataExtractor.cpp20-Jun-20144.9K
DataStream.cpp20-Jun-20142.7K
Debug.cpp20-Jun-20144.6K
DeltaAlgorithm.cpp20-Jun-20143.4K
Disassembler.cpp20-Jun-20141.7K
Dwarf.cpp20-Jun-201439.4K
DynamicLibrary.cpp20-Jun-20144.9K
Errno.cpp20-Jun-20142.2K
ErrorHandling.cpp20-Jun-20143.5K
FileOutputBuffer.cpp20-Jun-20143.2K
FileUtilities.cpp20-Jun-20148.5K
FoldingSet.cpp20-Jun-201414.2K
FormattedStream.cpp20-Jun-20143.4K
GraphWriter.cpp20-Jun-20146.3K
Hashing.cpp20-Jun-20141.1K
Host.cpp20-Jun-201420.9K
IncludeFile.cpp20-Jun-2014707
IntEqClasses.cpp20-Jun-20142.1K
IntervalMap.cpp20-Jun-20144.3K
IntrusiveRefCntPtr.cpp20-Jun-2014445
IsInf.cpp20-Jun-20141.5K
IsNAN.cpp20-Jun-2014914
LLVMBuild.txt20-Jun-2014669
Locale.cpp20-Jun-2014203
LocaleGeneric.inc20-Jun-201420.7K
LocaleWindows.inc20-Jun-2014172
LocaleXlocale.inc20-Jun-20141.1K
LockFileManager.cpp20-Jun-20147.2K
Makefile20-Jun-2014602
ManagedStatic.cpp20-Jun-20142.3K
MD5.cpp20-Jun-20149K
Memory.cpp20-Jun-2014802
MemoryBuffer.cpp20-Jun-201414.7K
MemoryObject.cpp20-Jun-2014850
Mutex.cpp20-Jun-20143.4K
Path.cpp20-Jun-201427.6K
PluginLoader.cpp20-Jun-20141.6K
PrettyStackTrace.cpp20-Jun-20144.1K
Process.cpp20-Jun-20143K
Program.cpp20-Jun-20142.2K
raw_os_ostream.cpp20-Jun-2014967
raw_ostream.cpp20-Jun-201422.6K
README.txt.system20-Jun-20141.9K
regcclass.h20-Jun-20142.9K
regcname.h20-Jun-20144.2K
regcomp.c20-Jun-201435.8K
regengine.inc20-Jun-201426.5K
regerror.c20-Jun-20144.4K
Regex.cpp20-Jun-20144.9K
regex2.h20-Jun-20146.7K
regex_impl.h20-Jun-20143.6K
regexec.c20-Jun-20145.7K
regfree.c20-Jun-20142.5K
regstrlcpy.c20-Jun-20141.6K
regutils.h20-Jun-20142.2K
RWMutex.cpp20-Jun-20143.2K
SearchForAddressOfSpecialSymbol.cpp20-Jun-20141.7K
Signals.cpp20-Jun-20141.1K
SmallPtrSet.cpp20-Jun-20149K
SmallVector.cpp20-Jun-20141.5K
SourceMgr.cpp20-Jun-201416.1K
Statistic.cpp20-Jun-20145.2K
StreamableMemoryObject.cpp20-Jun-20144.5K
StringExtras.cpp20-Jun-20142.3K
StringMap.cpp20-Jun-20148.3K
StringPool.cpp20-Jun-2014997
StringRef.cpp20-Jun-201413.5K
StringRefMemoryObject.cpp20-Jun-2014946
system_error.cpp20-Jun-20142.9K
SystemUtils.cpp20-Jun-20141.2K
TargetRegistry.cpp20-Jun-20145.2K
Threading.cpp20-Jun-20144K
ThreadLocal.cpp20-Jun-20142.7K
Timer.cpp20-Jun-201411.9K
TimeValue.cpp20-Jun-20141.8K
ToolOutputFile.cpp20-Jun-20141.6K
Triple.cpp20-Jun-201424.3K
Twine.cpp20-Jun-20144.1K
Unix/20-Jun-2014
Valgrind.cpp20-Jun-20142.1K
Watchdog.cpp20-Jun-2014712
Windows/20-Jun-2014
YAMLParser.cpp20-Jun-201459.2K
YAMLTraits.cpp20-Jun-201420.1K

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