-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Build
from https://github.com/10gen/mongo/pull/14049#discussion_r1261783964, it was discovered that static clang builds were removing symbols that were unused in the binary. These symbols linked to functions that were intended to be called by the pretty printer in a gdb session to execute code which would shed more light (like a native built pretty printer). However it seems that because the executed code when built had no calls to the symbol, most likely it was optimized out.
There should be some flag we can pass to leave these symbols in and we should explore if its valuable to keep them in clang non release builds.