summaryrefslogtreecommitdiffstats
path: root/testsuite/dwz.tests/pr24172.sh
blob: f455b276ea40adbe5f46dfb9309506a761a7591d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cp $execs/dw2-skip-prologue 1

if dwz 1 2>dwz.err; status=$?; then
    true
fi

if ! grep -q "locexpr length .* exceeds .debug_loc section" dwz.err; then
    cat dwz.err
    exit 1
fi

[ $status -eq 1 ]

rm -f 1 dwz.err