You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there's a single test binary that is used for both functional tests for the
-fsanitize=address compiler flag (see ASAN_INST_TEST_SOURCES in asan/tests/CMakeLists.txt)
and unit tests of the ASan runtime (ASAN_NOINST_TEST_SOURCES).
Unit tests need to invoke private functions from the ASan runtime, which are hidden
in the dynamic runtime library on OSX (and probably Android). Therefore it's impossible
to build them in a way similar to the functional tests, unless we mark those private
functions as interfaces.
This isn't a good approach to testing, so instead we must split the unit tests from
those that require instrumentation and statically link the unit tests with the ASan
runtime implementation.
Reported by ramosian.glider on 2013-09-12 09:46:56
The text was updated successfully, but these errors were encountered:
Originally reported on Google Code with ID 222
Reported by
ramosian.glider
on 2013-09-12 09:46:56The text was updated successfully, but these errors were encountered: