Open GoogleCodeExporter opened 9 years ago
Yes. A patch for that would be very nice to have.
Original comment by alkondratenko
on 5 Jan 2014 at 2:29
Upon further investigation it looks like _some_ of the libraries use
--export-symbols-regex in their LDFLAGS to try to contain this. But not
libtcmalloc itself. I think the source-code (attribute) based approach is
easier to reason about, but wondering if there is a portability concern.
It looks like once upon a time the libtcmalloc symbols were hidden, but it got
changed in c437e1fcdd1e6ff3f032928d460cbfc115e2324f
(http://gperftools.googlecode.com/svn/trunk@36). csilvers, you out there to
comment?
Original comment by tlip...@gmail.com
on 5 Jan 2014 at 3:13
visibility itself is simple to do (because we already handle dll_export for
windows). I believe hardest thing is that lots of tests are using "internal"
symbols. Which would be unavailable with -visibility=hidden
Original comment by alkondratenko
on 5 Jan 2014 at 3:43
Original issue reported on code.google.com by
tlip...@gmail.com
on 5 Jan 2014 at 2:25