/* Return line number information of CU.
- Copyright (C) 2004-2009 Red Hat, Inc.
+ Copyright (C) 2004-2010 Red Hat, Inc.
This file is part of Red Hat elfutils.
Written by Ulrich Drepper <drepper@redhat.com>, 2004.
struct filelist *filelist = &null_file;
unsigned int nfilelist = 1;
+ bool uses_stmt = default_is_stmt == 0;
+
if (unlikely (linep >= lineendp))
goto invalid_data;
while (*linep != 0)
goto invalid_data;
is_stmt = 1 - is_stmt;
+ uses_stmt = true;
break;
case DW_LNS_set_basic_block:
The buffers overlap, so we've clobbered the early elements
of SORTLINES by the time we're reading the later ones. */
cu->lines = buf;
+ cu->lines->uses_stmt = uses_stmt;
cu->lines->nlines = nlinelist;
for (i = 0; i < nlinelist; ++i)
{