sst-core
sst-core copied to clipboard
Add configure option to support address sanitization
Core's memory use looks buggy to many memory debugging tools.
For component debugging it is impractical to compile sst-core using -fsanitize=address because so many things in core get flagged as errors. But you can't only compile the component with sanitization because sanitizer symbols won't get linked in properly.
I think the best solution here is to add -fsanitize=address ONLY to the sstsim.x link command. I've hacked this by hand and it works well. I propose we add a configure option to trigger this in core so we have a more user-friendly way to debug memory errors. I think this will be very useful both in-house and for external users.