Closed GoogleCodeExporter closed 9 years ago
I'm running the tests on Ubuntu 12.04 with the current release of LLVM and
Clang 3.6.0 from LLVM's official downloads. I'm using Google Test 1.7.0.
Original comment by vake...@gmail.com
on 19 Apr 2015 at 11:30
Unfortunately, I seem to get the same result when all tests are in a single
test case. See the attached output. I'm unsure what the cause is.
Original comment by vake...@gmail.com
on 19 Apr 2015 at 11:35
Attachments:
It looks like this may have actually been a configuration problem on my end. I
had my source files linking against -fsanitize=address, but I was not passing
the parameter to the build of gtest. When I pass -fsanitize=address to the
gtest build as well, I don't get this AddressSanitizer error. It looks like
it's just necessary for all of the dependencies to be sanitized in order for it
to correctly understand the memory.
I believe this can be closed.
Original comment by vake...@gmail.com
on 20 Apr 2015 at 1:13
I'm glad you found the problem.
Just for the record, gtest has been tested with many of the sanitizer
configurations, including Address Sanitizer, Memory Sanitizer and Thread
Sanitizer.
Original comment by sbe...@google.com
on 20 Apr 2015 at 3:04
Original comment by sbe...@google.com
on 20 Apr 2015 at 3:05
Original issue reported on code.google.com by
vake...@gmail.com
on 19 Apr 2015 at 11:25Attachments: