|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| Unix/ | | 22-Nov-2023 | - | 2,856 | 2,420 |
| Windows/ | | 22-Nov-2023 | - | 3,429 | 2,861 |
| APFloat.cpp | D | 22-Nov-2023 | 116.4 KiB | 3,937 | 2,621 |
| APInt.cpp | D | 22-Nov-2023 | 87.9 KiB | 2,918 | 2,017 |
| APSInt.cpp | D | 22-Nov-2023 | 779 | 24 | 7 |
| ARMBuildAttrs.cpp | D | 22-Nov-2023 | 4 KiB | 96 | 78 |
| ARMWinEH.cpp | D | 22-Nov-2023 | 1 KiB | 39 | 23 |
| Allocator.cpp | D | 22-Nov-2023 | 1.3 KiB | 41 | 21 |
| Android.mk | D | 22-Nov-2023 | 2.5 KiB | 129 | 108 |
| Atomic.cpp | D | 22-Nov-2023 | 3 KiB | 118 | 92 |
| BlockFrequency.cpp | D | 22-Nov-2023 | 1.9 KiB | 73 | 43 |
| BranchProbability.cpp | D | 22-Nov-2023 | 2 KiB | 74 | 38 |
| CMakeLists.txt | D | 22-Nov-2023 | 2.5 KiB | 131 | 125 |
| COPYRIGHT.regex | D | 22-Nov-2023 | 2.7 KiB | 55 | 47 |
| CommandLine.cpp | D | 22-Nov-2023 | 64.7 KiB | 1,877 | 1,285 |
| Compression.cpp | D | 22-Nov-2023 | 3.7 KiB | 100 | 74 |
| ConvertUTF.c | D | 22-Nov-2023 | 26.4 KiB | 709 | 466 |
| ConvertUTFWrapper.cpp | D | 22-Nov-2023 | 5.8 KiB | 173 | 122 |
| CrashRecoveryContext.cpp | D | 22-Nov-2023 | 11 KiB | 375 | 225 |
| DAGDeltaAlgorithm.cpp | D | 22-Nov-2023 | 12.4 KiB | 355 | 230 |
| DataExtractor.cpp | D | 22-Nov-2023 | 4.9 KiB | 176 | 136 |
| DataStream.cpp | D | 22-Nov-2023 | 2.7 KiB | 89 | 49 |
| Debug.cpp | D | 22-Nov-2023 | 5.2 KiB | 157 | 77 |
| DeltaAlgorithm.cpp | D | 22-Nov-2023 | 3.4 KiB | 115 | 76 |
| Dwarf.cpp | D | 22-Nov-2023 | 26.3 KiB | 587 | 533 |
| DynamicLibrary.cpp | D | 22-Nov-2023 | 5.1 KiB | 181 | 111 |
| Errno.cpp | D | 22-Nov-2023 | 2.2 KiB | 77 | 44 |
| ErrorHandling.cpp | D | 22-Nov-2023 | 7.8 KiB | 207 | 156 |
| FileOutputBuffer.cpp | D | 22-Nov-2023 | 3.4 KiB | 113 | 69 |
| FileUtilities.cpp | D | 22-Nov-2023 | 8.6 KiB | 262 | 171 |
| FoldingSet.cpp | D | 22-Nov-2023 | 14.3 KiB | 428 | 257 |
| FormattedStream.cpp | D | 22-Nov-2023 | 3.4 KiB | 108 | 51 |
| GraphWriter.cpp | D | 22-Nov-2023 | 7.9 KiB | 268 | 220 |
| Hashing.cpp | D | 22-Nov-2023 | 1.1 KiB | 30 | 6 |
| Host.cpp | D | 22-Nov-2023 | 29.5 KiB | 884 | 670 |
| IntEqClasses.cpp | D | 22-Nov-2023 | 2.1 KiB | 71 | 41 |
| IntervalMap.cpp | D | 22-Nov-2023 | 4.3 KiB | 162 | 101 |
| IntrusiveRefCntPtr.cpp | D | 22-Nov-2023 | 445 | 15 | 3 |
| LEB128.cpp | D | 22-Nov-2023 | 1.2 KiB | 45 | 23 |
| LLVMBuild.txt | D | 22-Nov-2023 | 669 | 22 | 20 |
| LineIterator.cpp | D | 22-Nov-2023 | 2.6 KiB | 95 | 67 |
| Locale.cpp | D | 22-Nov-2023 | 837 | 32 | 22 |
| LockFileManager.cpp | D | 22-Nov-2023 | 6.6 KiB | 239 | 167 |
| MD5.cpp | D | 22-Nov-2023 | 8.9 KiB | 287 | 190 |
| Makefile | D | 22-Nov-2023 | 699 | 24 | 10 |
| ManagedStatic.cpp | D | 22-Nov-2023 | 2.6 KiB | 91 | 52 |
| MathExtras.cpp | D | 22-Nov-2023 | 885 | 33 | 13 |
| Memory.cpp | D | 22-Nov-2023 | 802 | 26 | 9 |
| MemoryBuffer.cpp | D | 22-Nov-2023 | 14.4 KiB | 436 | 304 |
| MemoryObject.cpp | D | 22-Nov-2023 | 440 | 15 | 4 |
| Mutex.cpp | D | 22-Nov-2023 | 3.2 KiB | 123 | 75 |
| Options.cpp | D | 22-Nov-2023 | 1.1 KiB | 34 | 14 |
| Path.cpp | D | 22-Nov-2023 | 29.4 KiB | 1,077 | 821 |
| PluginLoader.cpp | D | 22-Nov-2023 | 1.6 KiB | 48 | 30 |
| PrettyStackTrace.cpp | D | 22-Nov-2023 | 4.9 KiB | 160 | 100 |
| Process.cpp | D | 22-Nov-2023 | 2.3 KiB | 82 | 51 |
| Program.cpp | D | 22-Nov-2023 | 2.4 KiB | 70 | 43 |
| README.txt.system | D | 22-Nov-2023 | 1.9 KiB | 44 | 36 |
| RWMutex.cpp | D | 22-Nov-2023 | 3.2 KiB | 126 | 81 |
| RandomNumberGenerator.cpp | D | 22-Nov-2023 | 1.9 KiB | 58 | 25 |
| Regex.cpp | D | 22-Nov-2023 | 5.3 KiB | 194 | 123 |
| ScaledNumber.cpp | D | 22-Nov-2023 | 9 KiB | 324 | 229 |
| SearchForAddressOfSpecialSymbol.cpp | D | 22-Nov-2023 | 1.7 KiB | 59 | 27 |
| Signals.cpp | D | 22-Nov-2023 | 1.1 KiB | 35 | 11 |
| SmallPtrSet.cpp | D | 22-Nov-2023 | 11.1 KiB | 339 | 222 |
| SmallVector.cpp | D | 22-Nov-2023 | 1.5 KiB | 41 | 19 |
| SourceMgr.cpp | D | 22-Nov-2023 | 15.9 KiB | 482 | 312 |
| SpecialCaseList.cpp | D | 22-Nov-2023 | 5.8 KiB | 169 | 119 |
| Statistic.cpp | D | 22-Nov-2023 | 5.1 KiB | 164 | 94 |
| StreamingMemoryObject.cpp | D | 22-Nov-2023 | 3.7 KiB | 125 | 92 |
| StringExtras.cpp | D | 22-Nov-2023 | 2.3 KiB | 59 | 27 |
| StringMap.cpp | D | 22-Nov-2023 | 8.6 KiB | 246 | 143 |
| StringPool.cpp | D | 22-Nov-2023 | 978 | 36 | 16 |
| StringRef.cpp | D | 22-Nov-2023 | 14.3 KiB | 486 | 318 |
| SystemUtils.cpp | D | 22-Nov-2023 | 1.1 KiB | 32 | 16 |
| TargetRegistry.cpp | D | 22-Nov-2023 | 4.6 KiB | 144 | 107 |
| ThreadLocal.cpp | D | 22-Nov-2023 | 1.7 KiB | 49 | 28 |
| Threading.cpp | D | 22-Nov-2023 | 3.2 KiB | 113 | 71 |
| TimeValue.cpp | D | 22-Nov-2023 | 1.5 KiB | 57 | 36 |
| Timer.cpp | D | 22-Nov-2023 | 11.9 KiB | 388 | 255 |
| ToolOutputFile.cpp | D | 22-Nov-2023 | 1.6 KiB | 47 | 23 |
| Triple.cpp | D | 22-Nov-2023 | 35.5 KiB | 1,152 | 950 |
| Twine.cpp | D | 22-Nov-2023 | 4 KiB | 172 | 149 |
| Unicode.cpp | D | 22-Nov-2023 | 20.1 KiB | 368 | 316 |
| Valgrind.cpp | D | 22-Nov-2023 | 2.6 KiB | 75 | 39 |
| Watchdog.cpp | D | 22-Nov-2023 | 712 | 24 | 8 |
| YAMLParser.cpp | D | 22-Nov-2023 | 60.7 KiB | 2,189 | 1,685 |
| YAMLTraits.cpp | D | 22-Nov-2023 | 22.5 KiB | 907 | 739 |
| circular_raw_ostream.cpp | D | 22-Nov-2023 | 1.3 KiB | 46 | 26 |
| raw_os_ostream.cpp | D | 22-Nov-2023 | 967 | 31 | 10 |
| raw_ostream.cpp | D | 22-Nov-2023 | 24.3 KiB | 851 | 579 |
| regcclass.h | D | 22-Nov-2023 | 2.9 KiB | 76 | 33 |
| regcname.h | D | 22-Nov-2023 | 4.2 KiB | 145 | 104 |
| regcomp.c | D | 22-Nov-2023 | 36.2 KiB | 1,575 | 1,179 |
| regengine.inc | D | 22-Nov-2023 | 26.5 KiB | 1,035 | 983 |
| regerror.c | D | 22-Nov-2023 | 4.4 KiB | 136 | 78 |
| regex2.h | D | 22-Nov-2023 | 6.8 KiB | 163 | 75 |
| regex_impl.h | D | 22-Nov-2023 | 3.6 KiB | 109 | 59 |
| regexec.c | D | 22-Nov-2023 | 5.7 KiB | 163 | 92 |
| regfree.c | D | 22-Nov-2023 | 2.5 KiB | 73 | 27 |
| regstrlcpy.c | D | 22-Nov-2023 | 1.6 KiB | 53 | 23 |
| regutils.h | D | 22-Nov-2023 | 2.3 KiB | 59 | 14 |
README.txt.system
1Design Of lib/System
2====================
3
4The software in this directory is designed to completely shield LLVM from any
5and all operating system specific functionality. It is not intended to be a
6complete operating system wrapper (such as ACE), but only to provide the
7functionality necessary to support LLVM.
8
9The software located here, of necessity, has very specific and stringent design
10rules. Violation of these rules means that cracks in the shield could form and
11the primary goal of the library is defeated. By consistently using this library,
12LLVM becomes more easily ported to new platforms since the only thing requiring
13porting is this library.
14
15Complete documentation for the library can be found in the file:
16 llvm/docs/SystemLibrary.html
17or at this URL:
18 http://llvm.org/docs/SystemLibrary.html
19
20While we recommend that you read the more detailed documentation, for the
21impatient, 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
34To accomplish these requirements, the library has numerous design criteria that
35must 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