Slight rewording of -fsanitize=memory docs.

llvm-svn: 170880
This commit is contained in:
Evgeniy Stepanov 2012-12-21 10:53:20 +00:00
parent 17d5590003
commit acef0e66a6
1 changed files with 4 additions and 3 deletions

View File

@ -926,9 +926,10 @@ are listed below.
``-fsanitize=memory``): ``-fsanitize=memory``):
- ``-fsanitize-memory-track-origins``: Enables origin tracking in - ``-fsanitize-memory-track-origins``: Enables origin tracking in
MemorySanitizer. Adds a second stack trace to MemorySanitizer MemorySanitizer. Adds a second section to MemorySanitizer
reports pointing to the allocation the uninitialized bits came reports pointing to the heap or stack allocation the
from. Slows down execution by additional 1.5x-2x. uninitialized bits came from. Slows down execution by additional
1.5x-2x.
The ``-fsanitize=`` argument must also be provided when linking, in The ``-fsanitize=`` argument must also be provided when linking, in
order to link to the appropriate runtime library. It is not possible order to link to the appropriate runtime library. It is not possible