[PATCH] D45424: [sanitizer] Enable threads for libc++ build used by the symbolizer
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 9 22:57:53 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL329672: [sanitizer] Enable threads for libc++ build used by the symbolizer (authored by phosek, committed by ).
Herald added a subscriber: delcypher.
Changed prior to commit:
https://reviews.llvm.org/D45424?vs=141791&id=141792#toc
Repository:
rL LLVM
https://reviews.llvm.org/D45424
Files:
compiler-rt/trunk/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
compiler-rt/trunk/lib/sanitizer_common/symbolizer/scripts/global_symbols.txt
Index: compiler-rt/trunk/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
+++ compiler-rt/trunk/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
@@ -98,12 +98,10 @@
-DLIBCXXABI_ENABLE_ASSERTIONS=OFF \
-DLIBCXXABI_ENABLE_EXCEPTIONS=OFF \
-DLIBCXXABI_ENABLE_SHARED=OFF \
- -DLIBCXXABI_ENABLE_THREADS=OFF \
-DLIBCXX_ENABLE_ASSERTIONS=OFF \
-DLIBCXX_ENABLE_EXCEPTIONS=OFF \
-DLIBCXX_ENABLE_RTTI=OFF \
-DLIBCXX_ENABLE_SHARED=OFF \
- -DLIBCXX_ENABLE_THREADS=OFF \
$LLVM_SRC
fi
cd ${LIBCXX_BUILD}
Index: compiler-rt/trunk/lib/sanitizer_common/symbolizer/scripts/global_symbols.txt
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/symbolizer/scripts/global_symbols.txt
+++ compiler-rt/trunk/lib/sanitizer_common/symbolizer/scripts/global_symbols.txt
@@ -15,6 +15,10 @@
__dso_handle U
__errno_location U
__interceptor_pread w
+__interceptor_pthread_cond_broadcast w
+__interceptor_pthread_cond_wait w
+__interceptor_pthread_mutex_lock w
+__interceptor_pthread_mutex_unlock w
__interceptor_read w
__interceptor_realpath w
__moddi3 U
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45424.141792.patch
Type: text/x-patch
Size: 1309 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180410/0a50a530/attachment.bin>
More information about the llvm-commits
mailing list