llvm-65816/lib/Support
Jeremy Rand 9bb9bf24c8 More work towards getting the compiler to not crash. 2015-07-17 22:22:50 -05:00
..
Unix Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Windows Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
APFloat.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
APInt.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
APSInt.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Allocator.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Atomic.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
BlockFrequency.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
BranchProbability.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
CMakeLists.txt Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
COPYRIGHT.regex Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
CommandLine.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Compression.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
ConstantRange.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
ConvertUTF.c Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
ConvertUTFWrapper.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
CrashRecoveryContext.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
DAGDeltaAlgorithm.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
DataExtractor.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
DataStream.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Debug.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
DeltaAlgorithm.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Disassembler.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Dwarf.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
DynamicLibrary.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Errno.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
ErrorHandling.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
FileOutputBuffer.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
FileUtilities.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
FoldingSet.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
FormattedStream.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
GraphWriter.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Hashing.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Host.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
IncludeFile.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
IntEqClasses.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
IntervalMap.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
IntrusiveRefCntPtr.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
IsInf.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
IsNAN.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
LLVMBuild.txt Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Locale.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
LockFileManager.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
MD5.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Makefile Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
ManagedStatic.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Memory.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
MemoryBuffer.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
MemoryObject.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Mutex.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Path.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
PluginLoader.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
PrettyStackTrace.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Process.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Program.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
README.txt.system Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
RWMutex.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Regex.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
SearchForAddressOfSpecialSymbol.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Signals.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
SmallPtrSet.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
SmallVector.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
SourceMgr.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Statistic.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
StreamableMemoryObject.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
StringExtras.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
StringMap.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
StringPool.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
StringRef.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
StringRefMemoryObject.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
SystemUtils.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
TargetRegistry.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
ThreadLocal.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Threading.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
TimeValue.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Timer.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
ToolOutputFile.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Triple.cpp More work towards getting the compiler to not crash. 2015-07-17 22:22:50 -05:00
Twine.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Unicode.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Valgrind.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
Watchdog.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
YAMLParser.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
YAMLTraits.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
circular_raw_ostream.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
raw_os_ostream.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
raw_ostream.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
regcclass.h Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
regcname.h Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
regcomp.c Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
regengine.inc Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
regerror.c Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
regex2.h Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
regex_impl.h Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
regexec.c Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
regfree.c Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
regstrlcpy.c Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
regutils.h Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04:00
system_error.cpp Initial commit with LLVM 3.4.1, cfe 3.4.1 and compiler-rt 3.4 2014-07-04 22:48:00 -04: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