summaryrefslogtreecommitdiffstats
path: root/libdw/cfi.c
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2010-06-16 02:21:26 -0700
committerRoland McGrath <[email protected]>2010-06-16 02:21:26 -0700
commitc70ebc0587ad1c549a3fe7f16a563bf4d6782aa7 (patch)
tree806d44aa2a8a4498a5e3c26a9058ff17f85aa6bd /libdw/cfi.c
parentb75f444e2a4a54436bea2fa21f022225b5d782e0 (diff)
Check for CIE initial instructions that bogusly change the PC.
Diffstat (limited to 'libdw/cfi.c')
-rw-r--r--libdw/cfi.c1
1 files changed, 1 insertions, 0 deletions
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;