test: allow sanitized binaries to dump a core
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 4 Jan 2024 19:31:32 +0000 (20:31 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 4 Jan 2024 19:36:25 +0000 (20:36 +0100)
commit91da9458f8e10cee6e3ea43a4592bbe07c08f1b1
tree6f7f6d63f6b906a23faf3b22b86b2142a6121170
parent7eb234fe2b0ee139f5e5451babe1eecd100aa2ac
test: allow sanitized binaries to dump a core

If a binary built with ASan crashes for a reason unrelated to ASan
stuff, we're left with pretty much nothing, as there is neither an ASan
trace nor a coredump. Let's make this slightly more debug-able by
allowing such binaries to dump a core, but without the huge shadow map
(we should be actually fine by just setting disable_coredump=0, since
use_madv_dontdump defaults to true, but let's play it safe and not
potentially dump a 16+ TB core file).
test/test-functions