Home | History | Annotate | only in /external/llvm/lib/Support
Up to higher level directory
NameDateSize
Allocator.cpp22-Oct-20201.3K
Android.bp22-Oct-2020448
APFloat.cpp22-Oct-2020118.6K
APInt.cpp22-Oct-202087.5K
APSInt.cpp22-Oct-20201.4K
ARMBuildAttrs.cpp22-Oct-20204K
ARMWinEH.cpp22-Oct-20201K
Atomic.cpp22-Oct-20201.5K
BlockFrequency.cpp22-Oct-20202.1K
BranchProbability.cpp22-Oct-20203.4K
CachePruning.cpp22-Oct-20205.5K
circular_raw_ostream.cpp22-Oct-20201.3K
CMakeLists.txt22-Oct-20202.7K
COM.cpp22-Oct-2020702
CommandLine.cpp22-Oct-202072.5K
Compression.cpp22-Oct-20203.7K
ConvertUTF.c22-Oct-202026.4K
ConvertUTFWrapper.cpp22-Oct-20208.6K
COPYRIGHT.regex22-Oct-20202.7K
CrashRecoveryContext.cpp22-Oct-202011.1K
DAGDeltaAlgorithm.cpp22-Oct-202012.4K
DataExtractor.cpp22-Oct-20204.9K
DataStream.cpp22-Oct-20202.7K
Debug.cpp22-Oct-20205.4K
DeltaAlgorithm.cpp22-Oct-20203.4K
Dwarf.cpp22-Oct-202029K
DynamicLibrary.cpp22-Oct-20205.3K
Errno.cpp22-Oct-20202.2K
Error.cpp22-Oct-20203.1K
ErrorHandling.cpp22-Oct-20207.9K
FileOutputBuffer.cpp22-Oct-20203.5K
FileUtilities.cpp22-Oct-20208.6K
FoldingSet.cpp22-Oct-202015.3K
FormattedStream.cpp22-Oct-20203.4K
GraphWriter.cpp22-Oct-20208.5K
Hashing.cpp22-Oct-20201.1K
Host.cpp22-Oct-202041.3K
IntEqClasses.cpp22-Oct-20202.1K
IntervalMap.cpp22-Oct-20204.3K
IntrusiveRefCntPtr.cpp22-Oct-2020445
JamCRC.cpp22-Oct-20204.3K
LEB128.cpp22-Oct-20201.2K
LineIterator.cpp22-Oct-20202.6K
LLVMBuild.txt22-Oct-2020669
Locale.cpp22-Oct-2020902
LockFileManager.cpp22-Oct-202010K
ManagedStatic.cpp22-Oct-20202.5K
MathExtras.cpp22-Oct-2020885
MD5.cpp22-Oct-20208.9K
Memory.cpp22-Oct-2020802
MemoryBuffer.cpp22-Oct-202014.8K
MemoryObject.cpp22-Oct-2020440
Mutex.cpp22-Oct-20203.2K
Options.cpp22-Oct-20201.1K
Path.cpp22-Oct-202032.7K
PluginLoader.cpp22-Oct-20201.6K
PrettyStackTrace.cpp22-Oct-20205.8K
Process.cpp22-Oct-20202.5K
Program.cpp22-Oct-20202.4K
RandomNumberGenerator.cpp22-Oct-20201.9K
raw_os_ostream.cpp22-Oct-2020967
raw_ostream.cpp22-Oct-202022.6K
README.txt.system22-Oct-20201.9K
regcclass.h22-Oct-20202.9K
regcname.h22-Oct-20204.2K
regcomp.c22-Oct-202036.2K
regengine.inc22-Oct-202026.5K
regerror.c22-Oct-20204.4K
Regex.cpp22-Oct-20205.3K
regex2.h22-Oct-20206.8K
regex_impl.h22-Oct-20203.6K
regexec.c22-Oct-20205.7K
regfree.c22-Oct-20202.5K
regstrlcpy.c22-Oct-20201.6K
regutils.h22-Oct-20202.3K
RWMutex.cpp22-Oct-20203.2K
ScaledNumber.cpp22-Oct-20209.1K
ScopedPrinter.cpp22-Oct-20201.8K
SearchForAddressOfSpecialSymbol.cpp22-Oct-20201.7K
SHA1.cpp22-Oct-20204.6K
Signals.cpp22-Oct-20206.7K
SmallPtrSet.cpp22-Oct-20209.9K
SmallVector.cpp22-Oct-20201.5K
SourceMgr.cpp22-Oct-202015.9K
SpecialCaseList.cpp22-Oct-20205.8K
Statistic.cpp22-Oct-20206.2K
StreamingMemoryObject.cpp22-Oct-20204.2K
StringExtras.cpp22-Oct-20202.3K
StringMap.cpp22-Oct-20209.3K
StringPool.cpp22-Oct-2020978
StringRef.cpp22-Oct-202015.2K
StringSaver.cpp22-Oct-2020566
SystemUtils.cpp22-Oct-20201.1K
TargetParser.cpp22-Oct-202024.2K
TargetRegistry.cpp22-Oct-20204.6K
Threading.cpp22-Oct-20203.3K
ThreadLocal.cpp22-Oct-20201.7K
ThreadPool.cpp22-Oct-20205K
Timer.cpp22-Oct-202011.4K
TimeValue.cpp22-Oct-20201.5K
ToolOutputFile.cpp22-Oct-20201.6K
Triple.cpp22-Oct-202044.8K
Twine.cpp22-Oct-20204K
Unicode.cpp22-Oct-202020.1K
Unix/22-Oct-2020
Valgrind.cpp22-Oct-20201.6K
Watchdog.cpp22-Oct-2020712
Windows/22-Oct-2020
YAMLParser.cpp22-Oct-202068.3K
YAMLTraits.cpp22-Oct-202025.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