[SERVER-83983] Add [[gnu::used]] as a MONGO macro Created: 07/Dec/23 Updated: 20/Dec/23 Resolved: 08/Dec/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | William Qian | Assignee: | William Qian |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | QO 2023-12-11 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
[[gnu::used]] prevents constants from being optimized out, such as for debugging or other purposes. |
| Comments |
| Comment by Githook User [ 07/Dec/23 ] |
|
Author: {'name': 'William Qian', 'email': 'william.qian@mongodb.com', 'username': 'wqian94'}Message: GitOrigin-RevId: b5d31b2fcccdba490c03e456f646abb9a7a9eb48 |