tests: Limit varlocs print_expr_block recursion depth.
authorMark Wielaard <mark@klomp.org>
Sat, 23 Jun 2018 16:07:18 +0000 (18:07 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 29 Jun 2018 08:55:37 +0000 (10:55 +0200)
commit3e8db1b7f6acfbdb627ac53d57988d40f308955c
tree8b3d91ed4b3c0550b09d496fd5b617d19e813e3b
parent2ee84b2ca8b2da2bc4ad5663babfa25d97aa85b4
tests: Limit varlocs print_expr_block recursion depth.

This is only useful for bad DWARF where an expression block might have
an expression that refers to a DIE that contains the expression block
itself. But that might happen with bad DWARF generated by a fuzzer.

Signed-off-by: Mark Wielaard <mark@klomp.org>
tests/ChangeLog
tests/varlocs.c