aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2019-07-01 13:51:02 -0700
committerDan Albert <danalbert@google.com>2019-07-09 14:14:15 -0700
commitaa7f843a7c4cef0cb87cb1263211eb700891458f (patch)
tree0d22dcbaefbfae6e18249b37eddbfbc96d6ee1ac /docs
parent0178faf36bae70686d817c52462dc8badfa713d6 (diff)
downloadndk-aa7f843a7c4cef0cb87cb1263211eb700891458f.tar.gz
Add workaround #988 the default wrap.sh.
This can't help users of the static STL, but it does help those using the shared STL. Also clean up by merging these into a single wrap.sh. There should never be more than one ASan library in the directory, so we can just use a wildcard. Test: https://github.com/DanAlbert/asan-wrap-sh-exceptions-crash-repro Bug: https://github.com/android-ndk/ndk/issues/988 Change-Id: I890ba18faaebcdafe61f2800cc062ec7b5d9502e
Diffstat (limited to 'docs')
-rw-r--r--docs/BuildSystemMaintainers.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/BuildSystemMaintainers.md b/docs/BuildSystemMaintainers.md
index 73b41daef..860f5198d 100644
--- a/docs/BuildSystemMaintainers.md
+++ b/docs/BuildSystemMaintainers.md
@@ -325,9 +325,9 @@ than Valgrind (roughly 50% performance compared to an unsanitized application).
To use ASan, pass `-fsanitize=address` when both compiling and linking. The
sanitizer runtime libraries are installed to
`<NDK>/toolchains/llvm/prebuilt/<host-tag>/lib64/clang/<clang-version>/lib/linux`.
-The library is named `libclang_rt.asan-<arch>-android.so`. This library must be
-included in the APK. A [wrap.sh] file must also be included in the APK. Premade
-wrap.sh files for ASan are installed to `<NDK>/wrap.sh`.
+The library is named `libclang_rt.asan-<arch>-android.so`. This library must be
+included in the APK. A [wrap.sh] file must also be included in the APK. A
+premade wrap.sh file for ASan is installed to `<NDK>/wrap.sh`.
Note: wrap.sh is only available for [debuggable] APKs running on Android Oreo
(API 26) or higher. ASan can still be used devices prior to Oreo but at least