Closed cbalint13 closed 1 year ago
FYI @openroadie is managing updates to sta. Its best not to involve jjcherry56.
@cbalint13 Looks fine to me. The performance penalty seems to be small and consolidating copied options is always :+1: .
Except it is pointless to pass "options" that are gcc specific to clang. The checks are pointless because I use valgrind on the private regressions and this does not catch anything valgrind does not catch. I factored the options but ignored the D_GLIBCXX_ASSERTIONS addtion.
@jjcherry56 It isn't gcc specific and works in clang too. The assertion is in the stl implementation (glibcxx) which is common to both.
You could still have a user input that triggers such an error even if your regressions don't.
This PR adds runtime boundaries checks via glibc.
See https://github.com/The-OpenROAD-Project/OpenROAD/issues/1764 for details. Some short notes about and summary docs regarding this flag.
test
andexample
folder.These are the tests used for mentioned builds:
Cc @jjcherry56 , @maliberty , please help with the review.