[SERVER-27507] Implement support for symbol visibility source annotations Created: 22/Dec/16 Updated: 09/Sep/20 Resolved: 02/Sep/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Dev Platform 2020-09-07 | ||||||||
| Participants: | |||||||||
| Description |
|
Implement support in the build system for annotating symbols for export, as with _declspec(dllexport) or attribute_((visibility("default"))), and switch the build on non-Windows platforms to build with the default visibility set to hidden. We can simplify the mechanics of this task by leveraging a preprocesor technique outlined here: http://stackoverflow.com/questions/40944257/can-boost-pp-defined-be-implemented |
| Comments |
| Comment by Githook User [ 02/Sep/20 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: |
| Comment by Githook User [ 02/Sep/20 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: |
| Comment by Githook User [ 02/Sep/20 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: |
| Comment by Githook User [ 02/Sep/20 ] |
|
Author: {'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}Message: |
| Comment by Andrew Morrow (Inactive) [ 27/Aug/20 ] |
|
The proof-of-concept branch for this work is available here: https://github.com/acmorrow/mongo/tree/SERVER-27507 |