ChokkaUoM / address-sanitizer

Automatically exported from code.google.com/p/address-sanitizer
0 stars 0 forks source link

LSan doesn't work with empty suppressions list #399

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create empty file (file with comment only works just fine)
2. Set LSAN_OPTIONS="suppressions=/empty_file"
3. Run program built with LSan

Program exits with message "LeakSanitizer: failed to read suppressions file

I use llvm-3.6.1. Suspect, that same can happen with ASan/TSan.

Original issue reported on code.google.com by lolkaant...@gmail.com on 16 Jul 2015 at 11:40

GoogleCodeExporter commented 9 years ago
Is that really "suppressions=/empty_file", or did you mean 
"suppressions=./empty_file" ?

Original comment by ramosian.glider@gmail.com on 16 Jul 2015 at 11:42

GoogleCodeExporter commented 9 years ago
I use absolute path.

Original comment by lolkaant...@gmail.com on 16 Jul 2015 at 12:24

GoogleCodeExporter commented 9 years ago

Original comment by samso...@google.com on 16 Jul 2015 at 11:08

GoogleCodeExporter commented 9 years ago
Should be fixed by LLVM r242594.

Original comment by samso...@google.com on 17 Jul 2015 at 11:51

GoogleCodeExporter commented 9 years ago

Original comment by samso...@google.com on 17 Jul 2015 at 11:51

GoogleCodeExporter commented 9 years ago
Adding Project:AddressSanitizer as part of GitHub migration.

Original comment by ramosian.glider@gmail.com on 30 Jul 2015 at 9:14