Home | History | Annotate | only in /external/llvm/lib/Support
Up to higher level directory
NameDateSize
Allocator.cpp21-Aug-20181.3K
Android.bp21-Aug-2018448
APFloat.cpp21-Aug-2018118.6K
APInt.cpp21-Aug-201887.5K
APSInt.cpp21-Aug-20181.4K
ARMBuildAttrs.cpp21-Aug-20184K
ARMWinEH.cpp21-Aug-20181K
Atomic.cpp21-Aug-20181.5K
BlockFrequency.cpp21-Aug-20182.1K
BranchProbability.cpp21-Aug-20183.4K
CachePruning.cpp21-Aug-20185.5K
circular_raw_ostream.cpp21-Aug-20181.3K
CMakeLists.txt21-Aug-20182.7K
COM.cpp21-Aug-2018702
CommandLine.cpp21-Aug-201872.5K
Compression.cpp21-Aug-20183.7K
ConvertUTF.c21-Aug-201826.4K
ConvertUTFWrapper.cpp21-Aug-20188.6K
COPYRIGHT.regex21-Aug-20182.7K
CrashRecoveryContext.cpp21-Aug-201811.1K
DAGDeltaAlgorithm.cpp21-Aug-201812.4K
DataExtractor.cpp21-Aug-20184.9K
DataStream.cpp21-Aug-20182.7K
Debug.cpp21-Aug-20185.4K
DeltaAlgorithm.cpp21-Aug-20183.4K
Dwarf.cpp21-Aug-201829K
DynamicLibrary.cpp21-Aug-20185.3K
Errno.cpp21-Aug-20182.2K
Error.cpp21-Aug-20183.1K
ErrorHandling.cpp21-Aug-20187.9K
FileOutputBuffer.cpp21-Aug-20183.5K
FileUtilities.cpp21-Aug-20188.6K
FoldingSet.cpp21-Aug-201815.3K
FormattedStream.cpp21-Aug-20183.4K
GraphWriter.cpp21-Aug-20188.5K
Hashing.cpp21-Aug-20181.1K
Host.cpp21-Aug-201841.3K
IntEqClasses.cpp21-Aug-20182.1K
IntervalMap.cpp21-Aug-20184.3K
IntrusiveRefCntPtr.cpp21-Aug-2018445
JamCRC.cpp21-Aug-20184.3K
LEB128.cpp21-Aug-20181.2K
LineIterator.cpp21-Aug-20182.6K
LLVMBuild.txt21-Aug-2018669
Locale.cpp21-Aug-2018902
LockFileManager.cpp21-Aug-201810K
ManagedStatic.cpp21-Aug-20182.5K
MathExtras.cpp21-Aug-2018885
MD5.cpp21-Aug-20188.9K
Memory.cpp21-Aug-2018802
MemoryBuffer.cpp21-Aug-201814.8K
MemoryObject.cpp21-Aug-2018440
Mutex.cpp21-Aug-20183.2K
Options.cpp21-Aug-20181.1K
Path.cpp21-Aug-201832.7K
PluginLoader.cpp21-Aug-20181.6K
PrettyStackTrace.cpp21-Aug-20185.8K
Process.cpp21-Aug-20182.5K
Program.cpp21-Aug-20182.4K
RandomNumberGenerator.cpp21-Aug-20181.9K
raw_os_ostream.cpp21-Aug-2018967
raw_ostream.cpp21-Aug-201822.6K
README.txt.system21-Aug-20181.9K
regcclass.h21-Aug-20182.9K
regcname.h21-Aug-20184.2K
regcomp.c21-Aug-201836.2K
regengine.inc21-Aug-201826.5K
regerror.c21-Aug-20184.4K
Regex.cpp21-Aug-20185.3K
regex2.h21-Aug-20186.8K
regex_impl.h21-Aug-20183.6K
regexec.c21-Aug-20185.7K
regfree.c21-Aug-20182.5K
regstrlcpy.c21-Aug-20181.6K
regutils.h21-Aug-20182.3K
RWMutex.cpp21-Aug-20183.2K
ScaledNumber.cpp21-Aug-20189.1K
ScopedPrinter.cpp21-Aug-20181.8K
SearchForAddressOfSpecialSymbol.cpp21-Aug-20181.7K
SHA1.cpp21-Aug-20184.6K
Signals.cpp21-Aug-20186.7K
SmallPtrSet.cpp21-Aug-20189.9K
SmallVector.cpp21-Aug-20181.5K
SourceMgr.cpp21-Aug-201815.9K
SpecialCaseList.cpp21-Aug-20185.8K
Statistic.cpp21-Aug-20186.2K
StreamingMemoryObject.cpp21-Aug-20184.2K
StringExtras.cpp21-Aug-20182.3K
StringMap.cpp21-Aug-20189.3K
StringPool.cpp21-Aug-2018978
StringRef.cpp21-Aug-201815.2K
StringSaver.cpp21-Aug-2018566
SystemUtils.cpp21-Aug-20181.1K
TargetParser.cpp21-Aug-201823.5K
TargetRegistry.cpp21-Aug-20184.6K
Threading.cpp21-Aug-20183.3K
ThreadLocal.cpp21-Aug-20181.7K
ThreadPool.cpp21-Aug-20185K
Timer.cpp21-Aug-201811.4K
TimeValue.cpp21-Aug-20181.5K
ToolOutputFile.cpp21-Aug-20181.6K
Triple.cpp21-Aug-201844.8K
Twine.cpp21-Aug-20184K
Unicode.cpp21-Aug-201820.1K
Unix/21-Aug-2018
Valgrind.cpp21-Aug-20181.6K
Watchdog.cpp21-Aug-2018712
Windows/21-Aug-2018
YAMLParser.cpp21-Aug-201868.3K
YAMLTraits.cpp21-Aug-201825.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