Move private symbols to private static libraries
The following discussion from !3037 (merged) should be addressed:
-
@3v1n0 started a discussion: It's not a problem with this MR and should probably handled elsewhere. But in theory we should not export private symbols.
@pwithnall I think we should probably start adding private static libraries to handle these cases (i.e. private symbols that we want to test) to be linked-whole with test executables using them and libraries.
But, again, this is not a problem with this MR as we've other private functions that we export, but just mentioning here to remember {me,us} to fix this.