freebsd-skq/lib/Support
2016-01-13 19:58:01 +00:00
..
Unix Vendor import of llvm trunk r256945: 2016-01-06 20:01:02 +00:00
Windows Vendor import of llvm trunk r257626: 2016-01-13 19:58:01 +00:00
Allocator.cpp Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
APFloat.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
APInt.cpp Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
APSInt.cpp Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
ARMBuildAttrs.cpp Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
ARMWinEH.cpp Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
Atomic.cpp Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
BlockFrequency.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
BranchProbability.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
circular_raw_ostream.cpp Update LLVM to r103004. 2010-05-04 16:11:02 +00:00
CMakeLists.txt Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
COM.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
CommandLine.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
Compression.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
ConvertUTF.c Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
ConvertUTFWrapper.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
COPYRIGHT.regex Update llvm to r84119. 2009-10-14 17:57:32 +00:00
CrashRecoveryContext.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
DAGDeltaAlgorithm.cpp Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
DataExtractor.cpp Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
DataStream.cpp Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
Debug.cpp Vendor import of llvm trunk r257626: 2016-01-13 19:58:01 +00:00
DeltaAlgorithm.cpp Update LLVM to r108243. 2010-07-13 17:19:57 +00:00
Dwarf.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
DynamicLibrary.cpp Vendor import of llvm trunk r239412: 2015-06-09 19:06:30 +00:00
Errno.cpp Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:17:27 +00:00
ErrorHandling.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
FileOutputBuffer.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
FileUtilities.cpp Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:17:27 +00:00
FoldingSet.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
FormattedStream.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
GraphWriter.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
Hashing.cpp Vendor import of llvm trunk r154661: 2012-04-14 13:54:10 +00:00
Host.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
IntEqClasses.cpp Vendor import of llvm trunk r257626: 2016-01-13 19:58:01 +00:00
IntervalMap.cpp Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
IntrusiveRefCntPtr.cpp Vendor import of llvm trunk r154661: 2012-04-14 13:54:10 +00:00
JamCRC.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
LEB128.cpp Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
LineIterator.cpp Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:17:27 +00:00
LLVMBuild.txt Vendor import of llvm trunk r154661: 2012-04-14 13:54:10 +00:00
Locale.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
LockFileManager.cpp Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
Makefile Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
ManagedStatic.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
MathExtras.cpp Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
MD5.cpp Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
Memory.cpp Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
MemoryBuffer.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
MemoryObject.cpp Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:17:27 +00:00
Mutex.cpp Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
Options.cpp Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:17:27 +00:00
Path.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
PluginLoader.cpp Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
PrettyStackTrace.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
Process.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
Program.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
RandomNumberGenerator.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
raw_os_ostream.cpp Update LLVM to 92395. 2010-01-01 10:31:22 +00:00
raw_ostream.cpp Vendor import of llvm trunk r257626: 2016-01-13 19:58:01 +00:00
README.txt.system Vendor import of llvm trunk r126079: 2011-02-20 12:57:14 +00:00
regcclass.h Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
regcname.h Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
regcomp.c Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
regengine.inc Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
regerror.c Update llvm to r84119. 2009-10-14 17:57:32 +00:00
regex2.h Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
regex_impl.h Update llvm to r84119. 2009-10-14 17:57:32 +00:00
Regex.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
regexec.c Vendor import of llvm release_32 branch r168974 (effectively, 3.2 RC2): 2012-12-02 13:10:19 +00:00
regfree.c Update llvm to r84119. 2009-10-14 17:57:32 +00:00
regstrlcpy.c Update llvm to r84119. 2009-10-14 17:57:32 +00:00
regutils.h Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
RWMutex.cpp Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
ScaledNumber.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
SearchForAddressOfSpecialSymbol.cpp Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
Signals.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
SmallPtrSet.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
SmallVector.cpp Vendor import of llvm trunk r239412: 2015-06-09 19:06:30 +00:00
SourceMgr.cpp Vendor import of llvm trunk r240225: 2015-06-21 13:59:01 +00:00
SpecialCaseList.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
Statistic.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
StreamingMemoryObject.cpp Vendor import of llvm trunk r241361: 2015-07-05 14:21:36 +00:00
StringExtras.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
StringMap.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
StringPool.cpp Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
StringRef.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
StringSaver.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
SystemUtils.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
TargetParser.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
TargetRegistry.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
Threading.cpp Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:08:18 +00:00
ThreadLocal.cpp Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:17:27 +00:00
ThreadPool.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
Timer.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
TimeValue.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
ToolOutputFile.cpp Vendor import of llvm RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): 2015-01-18 16:17:27 +00:00
Triple.cpp Vendor import of llvm trunk r257626: 2016-01-13 19:58:01 +00:00
Twine.cpp Vendor import of llvm trunk r238337: 2015-05-27 18:44:32 +00:00
Unicode.cpp Vendor import of llvm release_34 branch r197841 (effectively, 3.4 RC3): 2013-12-22 00:04:03 +00:00
Valgrind.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
Watchdog.cpp Vendor import of llvm trunk r178860: 2013-04-08 18:41:23 +00:00
YAMLParser.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00
YAMLTraits.cpp Vendor import of llvm trunk r256633: 2015-12-30 11:46:15 +00:00

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