[PATCH] D70860: [docs] Fixed incorrect build instructions for Scudo

Alex Gaynor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 29 08:35:13 PST 2019


alex created this revision.
alex added a reviewer: eugenis.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The docs previously said to compile `*.cc`, but the C++ files in that directory all use the `.cpp` extension.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70860

Files:
  llvm/docs/ScudoHardenedAllocator.rst


Index: llvm/docs/ScudoHardenedAllocator.rst
===================================================================
--- llvm/docs/ScudoHardenedAllocator.rst
+++ llvm/docs/ScudoHardenedAllocator.rst
@@ -112,7 +112,7 @@
 
   cd $LLVM/projects/compiler-rt/lib
   clang++ -fPIC -std=c++11 -msse4.2 -O2 -I. scudo/*.cpp \
-    $(\ls sanitizer_common/*.{cc,S} | grep -v "sanitizer_termination\|sanitizer_common_nolibc\|sancov_\|sanitizer_unwind\|sanitizer_symbol") \
+    $(\ls sanitizer_common/*.{cpp,S} | grep -v "sanitizer_termination\|sanitizer_common_nolibc\|sancov_\|sanitizer_unwind\|sanitizer_symbol") \
     -shared -o libscudo.so -pthread
 
 and then use it with existing binaries as follows:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70860.231550.patch
Type: text/x-patch
Size: 692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191129/6cc69cdf/attachment.bin>


More information about the llvm-commits mailing list