android13/external/llvm/lib/Support
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
Unix initial 2024-06-22 20:45:49 +08:00
Windows initial 2024-06-22 20:45:49 +08:00
APFloat.cpp initial 2024-06-22 20:45:49 +08:00
APInt.cpp initial 2024-06-22 20:45:49 +08:00
APSInt.cpp initial 2024-06-22 20:45:49 +08:00
ARMBuildAttrs.cpp initial 2024-06-22 20:45:49 +08:00
ARMWinEH.cpp initial 2024-06-22 20:45:49 +08:00
Allocator.cpp initial 2024-06-22 20:45:49 +08:00
Android.bp initial 2024-06-22 20:45:49 +08:00
Atomic.cpp initial 2024-06-22 20:45:49 +08:00
BlockFrequency.cpp initial 2024-06-22 20:45:49 +08:00
BranchProbability.cpp initial 2024-06-22 20:45:49 +08:00
CMakeLists.txt initial 2024-06-22 20:45:49 +08:00
COM.cpp initial 2024-06-22 20:45:49 +08:00
COPYRIGHT.regex initial 2024-06-22 20:45:49 +08:00
CachePruning.cpp initial 2024-06-22 20:45:49 +08:00
CommandLine.cpp initial 2024-06-22 20:45:49 +08:00
Compression.cpp initial 2024-06-22 20:45:49 +08:00
ConvertUTF.c initial 2024-06-22 20:45:49 +08:00
ConvertUTFWrapper.cpp initial 2024-06-22 20:45:49 +08:00
CrashRecoveryContext.cpp initial 2024-06-22 20:45:49 +08:00
DAGDeltaAlgorithm.cpp initial 2024-06-22 20:45:49 +08:00
DataExtractor.cpp initial 2024-06-22 20:45:49 +08:00
DataStream.cpp initial 2024-06-22 20:45:49 +08:00
Debug.cpp initial 2024-06-22 20:45:49 +08:00
DeltaAlgorithm.cpp initial 2024-06-22 20:45:49 +08:00
Dwarf.cpp initial 2024-06-22 20:45:49 +08:00
DynamicLibrary.cpp initial 2024-06-22 20:45:49 +08:00
Errno.cpp initial 2024-06-22 20:45:49 +08:00
Error.cpp initial 2024-06-22 20:45:49 +08:00
ErrorHandling.cpp initial 2024-06-22 20:45:49 +08:00
FileOutputBuffer.cpp initial 2024-06-22 20:45:49 +08:00
FileUtilities.cpp initial 2024-06-22 20:45:49 +08:00
FoldingSet.cpp initial 2024-06-22 20:45:49 +08:00
FormattedStream.cpp initial 2024-06-22 20:45:49 +08:00
GraphWriter.cpp initial 2024-06-22 20:45:49 +08:00
Hashing.cpp initial 2024-06-22 20:45:49 +08:00
Host.cpp initial 2024-06-22 20:45:49 +08:00
IntEqClasses.cpp initial 2024-06-22 20:45:49 +08:00
IntervalMap.cpp initial 2024-06-22 20:45:49 +08:00
IntrusiveRefCntPtr.cpp initial 2024-06-22 20:45:49 +08:00
JamCRC.cpp initial 2024-06-22 20:45:49 +08:00
LEB128.cpp initial 2024-06-22 20:45:49 +08:00
LLVMBuild.txt initial 2024-06-22 20:45:49 +08:00
LineIterator.cpp initial 2024-06-22 20:45:49 +08:00
Locale.cpp initial 2024-06-22 20:45:49 +08:00
LockFileManager.cpp initial 2024-06-22 20:45:49 +08:00
MD5.cpp initial 2024-06-22 20:45:49 +08:00
ManagedStatic.cpp initial 2024-06-22 20:45:49 +08:00
MathExtras.cpp initial 2024-06-22 20:45:49 +08:00
Memory.cpp initial 2024-06-22 20:45:49 +08:00
MemoryBuffer.cpp initial 2024-06-22 20:45:49 +08:00
MemoryObject.cpp initial 2024-06-22 20:45:49 +08:00
Mutex.cpp initial 2024-06-22 20:45:49 +08:00
Options.cpp initial 2024-06-22 20:45:49 +08:00
Path.cpp initial 2024-06-22 20:45:49 +08:00
PluginLoader.cpp initial 2024-06-22 20:45:49 +08:00
PrettyStackTrace.cpp initial 2024-06-22 20:45:49 +08:00
Process.cpp initial 2024-06-22 20:45:49 +08:00
Program.cpp initial 2024-06-22 20:45:49 +08:00
README.txt.system initial 2024-06-22 20:45:49 +08:00
RWMutex.cpp initial 2024-06-22 20:45:49 +08:00
RandomNumberGenerator.cpp initial 2024-06-22 20:45:49 +08:00
Regex.cpp initial 2024-06-22 20:45:49 +08:00
SHA1.cpp initial 2024-06-22 20:45:49 +08:00
ScaledNumber.cpp initial 2024-06-22 20:45:49 +08:00
ScopedPrinter.cpp initial 2024-06-22 20:45:49 +08:00
SearchForAddressOfSpecialSymbol.cpp initial 2024-06-22 20:45:49 +08:00
Signals.cpp initial 2024-06-22 20:45:49 +08:00
SmallPtrSet.cpp initial 2024-06-22 20:45:49 +08:00
SmallVector.cpp initial 2024-06-22 20:45:49 +08:00
SourceMgr.cpp initial 2024-06-22 20:45:49 +08:00
SpecialCaseList.cpp initial 2024-06-22 20:45:49 +08:00
Statistic.cpp initial 2024-06-22 20:45:49 +08:00
StreamingMemoryObject.cpp initial 2024-06-22 20:45:49 +08:00
StringExtras.cpp initial 2024-06-22 20:45:49 +08:00
StringMap.cpp initial 2024-06-22 20:45:49 +08:00
StringPool.cpp initial 2024-06-22 20:45:49 +08:00
StringRef.cpp initial 2024-06-22 20:45:49 +08:00
StringSaver.cpp initial 2024-06-22 20:45:49 +08:00
SystemUtils.cpp initial 2024-06-22 20:45:49 +08:00
TargetParser.cpp initial 2024-06-22 20:45:49 +08:00
TargetRegistry.cpp initial 2024-06-22 20:45:49 +08:00
ThreadLocal.cpp initial 2024-06-22 20:45:49 +08:00
ThreadPool.cpp initial 2024-06-22 20:45:49 +08:00
Threading.cpp initial 2024-06-22 20:45:49 +08:00
TimeValue.cpp initial 2024-06-22 20:45:49 +08:00
Timer.cpp initial 2024-06-22 20:45:49 +08:00
ToolOutputFile.cpp initial 2024-06-22 20:45:49 +08:00
Triple.cpp initial 2024-06-22 20:45:49 +08:00
Twine.cpp initial 2024-06-22 20:45:49 +08:00
Unicode.cpp initial 2024-06-22 20:45:49 +08:00
Valgrind.cpp initial 2024-06-22 20:45:49 +08:00
Watchdog.cpp initial 2024-06-22 20:45:49 +08:00
YAMLParser.cpp initial 2024-06-22 20:45:49 +08:00
YAMLTraits.cpp initial 2024-06-22 20:45:49 +08:00
circular_raw_ostream.cpp initial 2024-06-22 20:45:49 +08:00
raw_os_ostream.cpp initial 2024-06-22 20:45:49 +08:00
raw_ostream.cpp initial 2024-06-22 20:45:49 +08:00
regcclass.h initial 2024-06-22 20:45:49 +08:00
regcname.h initial 2024-06-22 20:45:49 +08:00
regcomp.c initial 2024-06-22 20:45:49 +08:00
regengine.inc initial 2024-06-22 20:45:49 +08:00
regerror.c initial 2024-06-22 20:45:49 +08:00
regex2.h initial 2024-06-22 20:45:49 +08:00
regex_impl.h initial 2024-06-22 20:45:49 +08:00
regexec.c initial 2024-06-22 20:45:49 +08:00
regfree.c initial 2024-06-22 20:45:49 +08:00
regstrlcpy.c initial 2024-06-22 20:45:49 +08:00
regutils.h initial 2024-06-22 20:45:49 +08:00

README.txt.system

Design Of lib/System
====================

The software in this directory is designed to completely shield LLVM from any
and all operating system specific functionality. It is not intended to be a
complete operating system wrapper (such as ACE), but only to provide the
functionality necessary to support LLVM.

The software located here, of necessity, has very specific and stringent design
rules. Violation of these rules means that cracks in the shield could form and
the primary goal of the library is defeated. By consistently using this library,
LLVM becomes more easily ported to new platforms since the only thing requiring
porting is this library.

Complete documentation for the library can be found in the file:
  llvm/docs/SystemLibrary.html
or at this URL:
  http://llvm.org/docs/SystemLibrary.html

While we recommend that you read the more detailed documentation, for the
impatient, here's a high level summary of the library's requirements.

 1. No system header files are to be exposed through the interface.
 2. Std C++ and Std C header files are okay to be exposed through the interface.
 3. No exposed system-specific functions.
 4. No exposed system-specific data.
 5. Data in lib/System classes must use only simple C++ intrinsic types.
 6. Errors are handled by returning "true" and setting an optional std::string
 7. Library must not throw any exceptions, period.
 8. Interface functions must not have throw() specifications.
 9. No duplicate function impementations are permitted within an operating
    system class.

To accomplish these requirements, the library has numerous design criteria that
must be satisfied. Here's a high level summary of the library's design criteria:

 1. No unused functionality (only what LLVM needs)
 2. High-Level Interfaces
 3. Use Opaque Classes
 4. Common Implementations
 5. Multiple Implementations
 6. Minimize Memory Allocation
 7. No Virtual Methods