Quick question... asan/msan/tsan all call __sanitizer_set_report_path(common_flags()->log_path), but ubsan does not (which, in practice, seems to mean that you can't redirect the ubsan output anywhere but to the default logging path of stderr). Is there any reason why this can't happen, or it would be a bad idea? Thanks again, Hal -- Hal Finkel Assistant Computational Scientist Leadership Computing Facility Argonne National Laboratory
Hi Hal, On Sun, Apr 12, 2015 at 2:59 PM, Hal Finkel <hfinkel at anl.gov> wrote:> Quick question... > > asan/msan/tsan all call > __sanitizer_set_report_path(common_flags()->log_path), but ubsan does not > (which, in practice, seems to mean that you can't redirect the ubsan output > anywhere but to the default logging path of stderr). Is there any reason > why this can't happen, or it would be a bad idea? >No. I think this is just not implemented for UBSan. Feel free to mail a patch, or open a bug against me.> > Thanks again, > Hal > > -- > Hal Finkel > Assistant Computational Scientist > Leadership Computing Facility > Argonne National Laboratory >-- Alexey Samsonov, Mountain View, CA -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150412/a4c891b2/attachment.html>
----- Original Message -----> From: "Alexey Samsonov" <samsonov at google.com> > To: "Hal Finkel" <hfinkel at anl.gov> > Cc: "LLVM Dev" <llvmdev at cs.uiuc.edu>, "Evgeniy Stepanov" <eugeni.stepanov at gmail.com> > Sent: Sunday, April 12, 2015 11:30:46 PM > Subject: Re: ubsan and log_path? > > > Hi Hal, > > > > On Sun, Apr 12, 2015 at 2:59 PM, Hal Finkel < hfinkel at anl.gov > > wrote: > > > Quick question... > > asan/msan/tsan all call > __sanitizer_set_report_path(common_flags()->log_path), but ubsan > does not (which, in practice, seems to mean that you can't redirect > the ubsan output anywhere but to the default logging path of > stderr). Is there any reason why this can't happen, or it would be a > bad idea? > > No. I think this is just not implemented for UBSan. Feel free to mail > a patch, or open a bug against me. >http://reviews.llvm.org/D9006 Thanks! -Hal> > > Thanks again, > Hal > > -- > Hal Finkel > Assistant Computational Scientist > Leadership Computing Facility > Argonne National Laboratory > > > > > -- > > > > Alexey Samsonov, Mountain View, CA-- Hal Finkel Assistant Computational Scientist Leadership Computing Facility Argonne National Laboratory