On Mon, Feb 20, 2012 at 6:58 AM, Howard Hinnant <[email protected]> wrote: > This is more than just an optimization issue. Experience with libstdc++ has > shown a persistent ABI stability problem over the years with functions > getting silently uninlined in one release of libstdc++.dylib and inlined in > the next. The best way to hold the ABI stable is to put inlining under my > control, not the compielr's. > > For those clients wishing to change these settings, <__config> was designed > to defer to the client's wishes from the command line: > > -D_LIBCPP_INLINE_VISIBILITY > > will be used in preference to whatever <__config> says (or if it doesn't, > that's the bug to fix).
Ah, ok. Then I think the right thing to do is to have cmake pass those flags to debug builds. I'll put together a patch along those lines instead. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
