Closed GoogleCodeExporter closed 9 years ago
The patch got a little mangled, but .bundle files are valid shared libraries
and are being
ignored by the perl script.
Original comment by themaste...@gmail.com
on 7 Dec 2009 at 10:07
Might make sense to add .framework in there too?
Original comment by themaste...@gmail.com
on 7 Dec 2009 at 10:07
Dunno anything about .framework, but .bundle is used by ruby for its C
extensions on
OSX.
Mach makes a distinction between shared libraries (MH_DYLIB) and dynamically
loadable
bundles (MH_BUNDLE). For example, MH_BUNDLEs can be told to resolve symbols
against an executable (-bundle_loader link flag), and can be unloaded
(providing they
don't contain Objective-C code) whereas dylibs can't.
Original comment by themaste...@gmail.com
on 7 Dec 2009 at 10:14
OK, I'll add .bundle, but not .framework. Is that enough to solve the problem?
Original comment by csilv...@gmail.com
on 8 Dec 2009 at 7:14
Yep, that solves my specific issue with profiling Ruby C extensions. Thanks!
Original comment by themaste...@gmail.com
on 8 Dec 2009 at 7:22
This should be fixed in perftools 1.5, just released.
Original comment by csilv...@gmail.com
on 20 Jan 2010 at 11:07
Original issue reported on code.google.com by
themaste...@gmail.com
on 7 Dec 2009 at 10:06