summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/include/sanitizer/tsan_interface_atomic.h2
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_interface.h2
-rw-r--r--compiler-rt/www/index.html16
-rw-r--r--compiler-rt/www/menu.html.incl3
4 files changed, 13 insertions, 10 deletions
diff --git a/compiler-rt/include/sanitizer/tsan_interface_atomic.h b/compiler-rt/include/sanitizer/tsan_interface_atomic.h
index 41b84dab50a..9ce0411917d 100644
--- a/compiler-rt/include/sanitizer/tsan_interface_atomic.h
+++ b/compiler-rt/include/sanitizer/tsan_interface_atomic.h
@@ -30,7 +30,7 @@ __extension__ typedef __int128 __tsan_atomic128;
#endif
// Part of ABI, do not change.
-// http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/atomic?view=markup
+// https://github.com/llvm/llvm-project/blob/master/libcxx/include/atomic
typedef enum {
__tsan_memory_order_relaxed,
__tsan_memory_order_consume,
diff --git a/compiler-rt/lib/tsan/rtl/tsan_interface.h b/compiler-rt/lib/tsan/rtl/tsan_interface.h
index 2c588f1a0b2..fac57809aa2 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_interface.h
+++ b/compiler-rt/lib/tsan/rtl/tsan_interface.h
@@ -199,7 +199,7 @@ __extension__ typedef __int128 a128;
#endif
// Part of ABI, do not change.
-// http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/atomic?view=markup
+// https://github.com/llvm/llvm-project/blob/master/libcxx/include/atomic
typedef enum {
mo_relaxed,
mo_consume,
diff --git a/compiler-rt/www/index.html b/compiler-rt/www/index.html
index 5d21abf26a3..98eccb2e422 100644
--- a/compiler-rt/www/index.html
+++ b/compiler-rt/www/index.html
@@ -109,16 +109,20 @@
<h2>Get it and get involved!</h2>
<!--=====================================================================-->
- <p>Generally, you need to build LLVM/Clang in order to build compiler-rt. You can
- either follow the Clang's
- <a href="http://clang.llvm.org/get_started.html">Getting Started</a> page, or
+ <p>Generally, you need to build LLVM/Clang in order to build compiler-rt. You
+ can build it either together with llvm and clang, or separately.
+
+ <p>To build it together, simply add compiler-rt to the -DLLVM_ENABLE_PROJECTS= option to
+ cmake.
+
+ <p>To build it separately, first
<a href="http://llvm.org/docs/CMake.html#quick-start">build LLVM</a>
separately to get llvm-config binary, and then run:
<ul>
- <li>svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt</li>
- <li>mkdir build</li>
- <li>cd build</li>
+ <li>cd llvm-project</li>
+ <li>mkdir build-compiler-rt</li>
+ <li>cd build-compiler-rt</li>
<li>cmake ../compiler-rt -DLLVM_CONFIG_PATH=/path/to/llvm-config</li>
<li>make</li>
</ul>
diff --git a/compiler-rt/www/menu.html.incl b/compiler-rt/www/menu.html.incl
index dfcb6f4ad1f..7b84be442ff 100644
--- a/compiler-rt/www/menu.html.incl
+++ b/compiler-rt/www/menu.html.incl
@@ -13,7 +13,6 @@
<a href="http://lists.llvm.org/mailman/listinfo/llvm-dev">llvm-dev</a>
<a href="http://lists.llvm.org/mailman/listinfo/llvm-commits">llvm-commits</a>
<a href="http://llvm.org/bugs/">Bug Reports</a>
- <a href="http://llvm.org/svn/llvm-project/compiler-rt/trunk/">Browse SVN</a>
- <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/">Browse ViewVC</a>
+ <a href="https://github.com/llvm/llvm-project/tree/master/compiler-rt/">Browse Sources</a>
</div>
</div>
OpenPOWER on IntegriCloud