Re: [cfe-users] Code locations from the Memory Sanitizer

2017-05-01 Thread Evgenii Stepanov via cfe-users
For MSan, you'll need MSAN_SYMBOLIZER_PATH. Or just add to PATH, it would work for all sanitizers. On Fri, Apr 28, 2017 at 3:30 AM, Rainer Gerhards via cfe-users wrote: > 2017-04-28 12:25 GMT+02:00 Erik de Castro Lopo via cfe-users > : >> Hi all, >> >> I've tried Clang versions 3.6, 3.9 and 5.0 (

Re: [cfe-users] Code locations from the Memory Sanitizer

2017-04-28 Thread Erik de Castro Lopo via cfe-users
Rainer Gerhards wrote: > I often need to set the ASAN_SYMBOLIZER_PATH: > > https://clang.llvm.org/docs/AddressSanitizer.html#id4 > > It often tends to be wrong by package default... Bingo! In my case, since I'm using Memory Sanitizer I needed to set MSAN_SYMBOLIZER_PATH rather than ASAN_SYMBOL

Re: [cfe-users] Code locations from the Memory Sanitizer

2017-04-28 Thread Rainer Gerhards via cfe-users
2017-04-28 12:25 GMT+02:00 Erik de Castro Lopo via cfe-users : > Hi all, > > I've tried Clang versions 3.6, 3.9 and 5.0 (all installed from Debian > packages on a Debian x86_64 machine), but I still can't get Memory > Sanitizer to give me the error file and line number locations. > > The project is