[Bug other/55354] [asan] by default, the asan run-time should be linked statically, not dynamically
konstantin.s.serebryany at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 19 09:03:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55354
--- Comment #15 from Konstantin Serebryany <konstantin.s.serebryany at gmail dot com> 2012-11-19 09:03:35 UTC ---
You are right that "-fPIC -ftls-model=initial-exec" does not affect performance
if we link libtsan statically (I checked).
As you say, the linker nukes one of the loads.
But if we link libtsan.so dynamically, we still get both sources of overhead.
More information about the Gcc-bugs
mailing list