diff options
author | Mark Wielaard <mark@klomp.org> | 2017-11-16 13:20:11 +0100 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2017-11-16 13:55:33 +0100 |
commit | 1af6c2b9e49f59ea2f01035738525e798bb4f645 (patch) | |
tree | 1c365b252e9e5841f0e9fd2e103c4b1c4bde17ae /tests/varlocs.c | |
parent | c0482a7f1f6696d5a203c8d960efe7c08e745742 (diff) | |
download | elfutils-1af6c2b9e49f59ea2f01035738525e798bb4f645.tar.gz |
tests: Fix cfi_debug => cfi_debug_bias typo in varlocs assert.
We want to check whether the bias is zero, not whether we have dwarf
debug_frame cfi.
This triggered on a ppc64/ppc64le self-check since it has both
debug_frame and eh_frame cfi (other arches often only have eh_frame).
Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'tests/varlocs.c')
-rw-r--r-- | tests/varlocs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/varlocs.c b/tests/varlocs.c index 3267198f..0e432296 100644 --- a/tests/varlocs.c +++ b/tests/varlocs.c @@ -1031,7 +1031,7 @@ main (int argc, char *argv[]) cfi_debug = dwfl_module_dwarf_cfi (mod, &cfi_debug_bias); cfi_eh = dwfl_module_eh_cfi (mod, &cfi_eh_bias); - assert (cfi_debug == 0); // No bias needed, same file. + assert (cfi_debug_bias == 0); // No bias needed, same file. // We are a bit forgiving for object files. There might be // relocations we don't handle that are needed in some |