summaryrefslogtreecommitdiffstats
path: root/docs/MemorySanitizer.rst
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-05-27 15:49:32 +0000
committerKostya Serebryany <kcc@google.com>2016-05-27 15:49:32 +0000
commitd82059446ca4bf5f16a6ffa3f5bb1aa93d279fc2 (patch)
tree3af71395067ad87f92fd774947b9541be459d788 /docs/MemorySanitizer.rst
parentc0ff89d7517dcc160e10341acc32165e64b36a26 (diff)
[msan] add a sentence about inline assembly
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/MemorySanitizer.rst')
-rw-r--r--docs/MemorySanitizer.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/MemorySanitizer.rst b/docs/MemorySanitizer.rst
index 62cacce215..4e58588b80 100644
--- a/docs/MemorySanitizer.rst
+++ b/docs/MemorySanitizer.rst
@@ -171,6 +171,8 @@ Handling external code
MemorySanitizer requires that all program code is instrumented. This
also includes any libraries that the program depends on, even libc.
Failing to achieve this may result in false reports.
+For the same reason you may need to replace all inline assembly code that writes to memory
+with a pure C/C++ code.
Full MemorySanitizer instrumentation is very difficult to achieve. To
make it easier, MemorySanitizer runtime library includes 70+