llvm.org GIT mirror llvm / b21d80e
Adjust documentation for git migration. This fixes most references to the paths: llvm.org/svn/ llvm.org/git/ llvm.org/viewvc/ github.com/llvm-mirror/ github.com/llvm-project/ reviews.llvm.org/diffusion/ to instead point to https://github.com/llvm/llvm-project. This is *not* a trivial substitution, because additionally, all the checkout instructions had to be migrated to instruct users on how to use the monorepo layout, setting LLVM_ENABLE_PROJECTS instead of checking out various projects into various subdirectories. I've attempted to not change any scripts here, only documentation. The scripts will have to be addressed separately. Additionally, I've deleted one document which appeared to be outdated and unneeded: lldb/docs/building-with-debug-llvm.txt Differential Revision: https://reviews.llvm.org/D57330 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352514 91177308-0d34-0410-b5e6-96231b3b80d8 James Y Knight 6 months ago
9 changed file(s) with 24 addition(s) and 30 deletion(s). Raw diff Collapse all Expand all
142142 ----------------------------
143143
144144 In clang, ``math.h`` and ``cmath`` are available and `pass
145 -mirror/test-suite/blob/master/External/CUDA/math_h.cu>`_
145 /llvm-test-suite/blob/master/External/CUDA/math_h.cu>`_
146146 `tests
147 -mirror/test-suite/blob/master/External/CUDA/cmath.cu>`_
147 /llvm-test-suite/blob/master/External/CUDA/cmath.cu>`_
148148 adapted from libc++'s test suite.
149149
150150 In nvcc ``math.h`` and ``cmath`` are mostly available. Versions of ``::foof``
543543 Currently, there is no simple way to run both fuzzing engines in parallel while sharing the same corpus dir.
544544
545545 You may also use AFL on your target function ``LLVMFuzzerTestOneInput``:
546 see an example `here -mirror/compiler-rt/tree/master/lib/fuzzer/afl>`__.
546 see an example `here /llvm-project/tree/master/compiler-rt/lib/fuzzer/afl>`__.
547547
548548 How good is my fuzzer?
549549 ----------------------
740740 .. _AddressSanitizer: http://clang.llvm.org/docs/AddressSanitizer.html
741741 .. _LeakSanitizer: http://clang.llvm.org/docs/LeakSanitizer.html
742742 .. _Heartbleed: http://en.wikipedia.org/wiki/Heartbleed
743 .. _FuzzerInterface.h: https://github.com/llvm-mirror/compiler-rt/blob/master/lib/fuzzer/FuzzerInterface.h
743 .. _FuzzerInterface.h: https://github.com/llvm/llvm-project/blob/master/compiler-rt/lib/fuzzer/FuzzerInterface.h
744744 .. _3.7.0: http://llvm.org/releases/3.7.0/docs/LibFuzzer.html
745745 .. _building Clang from trunk: http://clang.llvm.org/get_started.html
746746 .. _MemorySanitizer: http://clang.llvm.org/docs/MemorySanitizer.html
2626 2. Check out the `test-suite` module with:
2727
2828 ```bash
29 % svn co http://llvm.org/svn/llvm-project/test-suite/trunk test-suite
29 % git clone https://github.com/llvm/llvm-test-suite.git test-suite
3030 ```
3131
3232 3. Create a build directory and use CMake to configure the suite. Use the
1313
1414 To run the test suite, you need to use the following steps:
1515
16 #. ``cd`` into the ``llvm/projects`` directory in your source tree.
1716 #. Check out the ``test-suite`` module with:
1817
1918 .. code-block:: bash
2019
21 % svn co http://llvm.org/svn/llvm-project/test-suite/trunk test-suite
20 % git clone https://github.com/llvm/llvm-test-suite.git test-suite
2221
23 This will get the test suite into ``llvm/projects/test-suite``.
22 #. FIXME: these directions are outdated and won't work. Figure out
23 what the correct thing to do is, and write it down here.
2424
2525 #. Configure and build ``llvm``.
2626
164164 Debugging Information tests
165165 ---------------------------
166166
167 To run debugging information tests simply checkout the tests inside
168 clang/test directory.
169
170 .. code-block:: bash
171
172 % cd clang/test
173 % svn co http://llvm.org/svn/llvm-project/debuginfo-tests/trunk debuginfo-tests
174
175 These tests are already set up to run as part of clang regression tests.
167 To run debugging information tests simply add the ``debuginfo-tests``
168 project to your ``LLVM_ENABLE_PROJECTS`` define on the cmake
169 command-line.
176170
177171 Regression test structure
178172 =========================
43184318
43194319 // Expand f32 -> i64 conversion
43204320 // This algorithm comes from compiler-rt's implementation of fixsfdi:
4321 // https://github.com/llvm-mirror/compiler-rt/blob/master/lib/builtins/fixsfdi.c
4321 // https://github.com/llvm/llvm-project/blob/master/compiler-rt/lib/builtins/fixsfdi.c
43224322 unsigned SrcEltBits = SrcVT.getScalarSizeInBits();
43234323 EVT IntVT = SrcVT.changeTypeToInteger();
43244324 EVT IntShVT = getShiftAmountTy(IntVT, DAG.getDataLayout());
210210
211211 const char* getTargetNodeName(unsigned Opcode) const override;
212212
213 // FIXME: Turn off MergeConsecutiveStores() before Instruction Selection
214 // for AMDGPU.
215 // A commit ( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319036
216 // 91177308-0d34-0410-b5e6-96231b3b80d8 ) turned on
217 // MergeConsecutiveStores() before Instruction Selection for all targets.
218 // Enough AMDGPU compiles go into an infinite loop ( MergeConsecutiveStores()
219 // merges two stores; LegalizeStoreOps() un-merges; MergeConsecutiveStores()
220 // re-merges, etc. ) to warrant turning it off for now.
213 // FIXME: Turn off MergeConsecutiveStores() before Instruction Selection for
214 // AMDGPU. Commit r319036,
215 // (https://github.com/llvm/llvm-project/commit/db77e57ea86d941a4262ef60261692f4cb6893e6)
216 // turned on MergeConsecutiveStores() before Instruction Selection for all
217 // targets. Enough AMDGPU compiles go into an infinite loop (
218 // MergeConsecutiveStores() merges two stores; LegalizeStoreOps() un-merges;
219 // MergeConsecutiveStores() re-merges, etc. ) to warrant turning it off for
220 // now.
221221 bool mergeStoresAfterLegalization() const override { return false; }
222222
223223 bool isFsqrtCheap(SDValue Operand, SelectionDAG &DAG) const override {
5555 !llvm.module.flags = !{!29, !30}
5656 !llvm.ident = !{!31}
5757
58 !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.8.0 (git://github.com/llvm-mirror/clang.git e0848b6353721eb1b278a5bbea257bbf6316251e) (git://github.com/llvm-mirror/llvm.git 8724a428dfd5e78d7865bb01783708e83f9ed128)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, retainedTypes: !3, globals: !23)
58 !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.8.0", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, retainedTypes: !3, globals: !23)
5959 !1 = !DIFile(filename: "testcase.i", directory: "/tmp/glibc.build")
6060 !2 = !{}
6161 !3 = !{!4}
8585 !28 = !DISubrange(count: 23)
8686 !29 = !{i32 2, !"Dwarf Version", i32 4}
8787 !30 = !{i32 2, !"Debug Info Version", i32 3}
88 !31 = !{!"clang version 3.8.0 (git://github.com/llvm-mirror/clang.git e0848b6353721eb1b278a5bbea257bbf6316251e) (git://github.com/llvm-mirror/llvm.git 8724a428dfd5e78d7865bb01783708e83f9ed128)"}
88 !31 = !{!"clang version 3.8.0"}
8989 !32 = !DILocation(line: 21, column: 32, scope: !33)
9090 !33 = distinct !DILexicalBlock(scope: !6, file: !1, line: 21, column: 6)
9191 !34 = !DILocation(line: 22, column: 15, scope: !35)
5151 Source
5252 ======
5353
54 The *lit* source is available as part of LLVM, in the LLVM SVN repository:
55 http://llvm.org/svn/llvm-project/llvm/trunk/utils/lit.
54 The *lit* source is available as part of LLVM, in the LLVM source repository:
55 https://github.com/llvm/llvm-project/tree/master/llvm/utils/lit
5656 """,
5757
5858 classifiers=[