HBehrens / puncover

Analyses C/C++ build output for code size, static variables, and stack usage
MIT License
431 stars 94 forks source link

Fix stack usage parsing of base file name #63

Closed vChavezB closed 1 year ago

vChavezB commented 1 year ago

The base file name was not parsed correctly. Instead the file was assigned as a base file name. This caused the function add_stack_usage to not find the file name obtained from the .su file and the .elf file as they were not the same.

Fixes https://github.com/HBehrens/puncover/issues/62

vChavezB commented 1 year ago

I just realized this is similar to this pull request

https://github.com/HBehrens/puncover/pull/43/files

noahp commented 1 year ago

Thanks for the patch @vChavezB ! I applied the patch in #68 and merged it.