diff options
| author | Vedant Kumar <vsk@apple.com> | 2019-07-29 22:54:43 +0000 |
|---|---|---|
| committer | Vedant Kumar <vsk@apple.com> | 2019-07-29 22:54:43 +0000 |
| commit | 00d186a5a9d3028792da6ca36e59fc348831b00e (patch) | |
| tree | 88c139cdafe8cf1bc1d9890efa967463e3fb709c | |
| parent | 04818d8386c79956d251341d521a213d6ac78e39 (diff) | |
| download | bcm5719-llvm-00d186a5a9d3028792da6ca36e59fc348831b00e.tar.gz bcm5719-llvm-00d186a5a9d3028792da6ca36e59fc348831b00e.zip | |
[docs] Add a note about where UBSan emits logs
llvm-svn: 367270
| -rw-r--r-- | clang/docs/UndefinedBehaviorSanitizer.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/docs/UndefinedBehaviorSanitizer.rst b/clang/docs/UndefinedBehaviorSanitizer.rst index 38cd3645bce..06d533f4931 100644 --- a/clang/docs/UndefinedBehaviorSanitizer.rst +++ b/clang/docs/UndefinedBehaviorSanitizer.rst @@ -224,6 +224,12 @@ will need to: ``UBSAN_OPTIONS=print_stacktrace=1``. #. Make sure ``llvm-symbolizer`` binary is in ``PATH``. +Logging +======= + +The default log file for diagnostics is "stderr". To log diagnostics to another +file, you can set ``UBSAN_OPTIONS=log_path=...``. + Silencing Unsigned Integer Overflow =================================== To silence reports from unsigned integer overflow, you can set |

