]> granicus.if.org Git - clang/commitdiff
[msan] add a sentence about inline assembly
authorKostya Serebryany <kcc@google.com>
Fri, 27 May 2016 15:49:32 +0000 (15:49 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 27 May 2016 15:49:32 +0000 (15:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271005 91177308-0d34-0410-b5e6-96231b3b80d8

docs/MemorySanitizer.rst

index 62cacce215d0c7bbab62cb021ea0cfba130aef98..4e58588b8018048867e7437cd9d34a8775c284d0 100644 (file)
@@ -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+