Re:How to build highly-debuggable C++ binaries
by binary132 on Monday July 29, 2024 @03:09PM
(#41102864)
I particularly liked the point that not every TU needs to be compiled in debug mode. I am working on a build system and now Iām thinking of setting aside some time to make sure debug and optimization is an object level option. In general, I think the usefulness of a well specified ABI over object code is vastly underappreciated!
[ Parent
| on HN ]
Re:How to build highly-debuggable C++ binaries
by trentnelson on Tuesday July 30, 2024 @12:54PM
(#41111331)
I like the idea of hacking the crap out of `compile_commands.json` and subverting it for your evil machinations outside of the normal build process. Such a hideously pragmatic tip.