From: Sylvestre Ledru Date: Mon, 26 Jun 2017 02:45:08 +0000 (+0000) Subject: Fix a typo X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6bbba4bc2ddadfc90dd125c380f036533182b35c;p=clang Fix a typo git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306261 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/MemorySanitizer.rst b/docs/MemorySanitizer.rst index 8088ecdf56..5bb19ed8a5 100644 --- a/docs/MemorySanitizer.rst +++ b/docs/MemorySanitizer.rst @@ -27,7 +27,7 @@ executable, so make sure to use ``clang`` (not ``ld``) for the final link step. When linking shared libraries, the MemorySanitizer run-time is not linked, so ``-Wl,-z,defs`` may cause link errors (don't use it with MemorySanitizer). To get a reasonable performance add ``-O1`` or -higher. To get meaninful stack traces in error messages add +higher. To get meaningful stack traces in error messages add ``-fno-omit-frame-pointer``. To get perfect stack traces you may need to disable inlining (just use ``-O1``) and tail call elimination (``-fno-optimize-sibling-calls``).