[HWASan symbolize] Write error to stderr.
authorFlorian Mayer <fmayer@google.com>
Wed, 11 May 2022 00:00:57 +0000 (17:00 -0700)
committerFlorian Mayer <fmayer@google.com>
Wed, 11 May 2022 00:00:57 +0000 (17:00 -0700)
compiler-rt/lib/hwasan/scripts/hwasan_symbolize

index c122387..66a9c92 100755 (executable)
@@ -268,7 +268,7 @@ class Symbolizer:
           except FileNotFoundError:
             continue
           except Exception as e:
-            print("Failed to parse {}: {}".format(filename, e))
+            print("Failed to parse {}: {}".format(filename, e), file=sys.stderr)
             continue
           if bid is not None:
             self.__index[bid] = filename