r367270 - [docs] Add a note about where UBSan emits logs

Vedant Kumar via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 29 15:54:43 PDT 2019

Author: vedantk
Date: Mon Jul 29 15:54:43 2019
New Revision: 367270

URL: http://llvm.org/viewvc/llvm-project?rev=367270&view=rev
[docs] Add a note about where UBSan emits logs


Modified: cfe/trunk/docs/UndefinedBehaviorSanitizer.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/UndefinedBehaviorSanitizer.rst?rev=367270&r1=367269&r2=367270&view=diff
--- cfe/trunk/docs/UndefinedBehaviorSanitizer.rst (original)
+++ cfe/trunk/docs/UndefinedBehaviorSanitizer.rst Mon Jul 29 15:54:43 2019
@@ -224,6 +224,12 @@ will need to:
 #. Make sure ``llvm-symbolizer`` binary is in ``PATH``.
+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

More information about the cfe-commits mailing list