From c70ebc0587ad1c549a3fe7f16a563bf4d6782aa7 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 16 Jun 2010 02:21:26 -0700 Subject: Check for CIE initial instructions that bogusly change the PC. --- libdw/cfi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libdw/cfi.c') diff --git a/libdw/cfi.c b/libdw/cfi.c index 3cb378b6..aeb48e69 100644 --- a/libdw/cfi.c +++ b/libdw/cfi.c @@ -369,6 +369,7 @@ execute_cfi (Dwarf_CFI *cache, } /* We get here only for the cases that have just moved LOC. */ + cfi_assert (cie->initial_state != NULL); if (find_pc >= loc) /* This advance has not yet reached FIND_PC. */ fs->start = loc; -- cgit v1.2.3