[libcxx] r215740 - Revert "Turn off extern templates for most uses."

Justin Bogner mail at justinbogner.com
Sun Aug 17 18:32:47 PDT 2014


Eric Fiselier <eric at efcs.ca> writes:
>> Just as a small data point, with an instrumented program and
> uninstrumented libc++ I see 575 msan failures without extern templates,
> and 724 with. If libc++ is instrumented, it's more like 200 (and many of
> these look like they're just because I've messed up using the
> instrumented library with the instrumented executable).
>
> A large amount of the test failures w/ MSAN are because some tests replace
> operator new and operator delete. This causes a linking error.
> I don't have specific numbers for the amount of tests that do this but you
> should take that into consideration.

Ah. I believe this is what most of the 200 errors I cite above are. I'd
assumed that was a new problem from how I'd injected an msan-enabled
libc++.so into the test environment.



More information about the cfe-commits mailing list