scanasm.exp (dg-function-on-line): Permit .fnstart to appear in the regexp pattern between the expected label and...

2010-09-22  Marcus Shawcroft  <marcus.shawcroft@arm.com>

	* lib/scanasm.exp(dg-function-on-line): Permit .fnstart to appear in
        the regexp pattern between the expected label and location string.

From-SVN: r164527
This commit is contained in:
Marcus Shawcroft 2010-09-22 16:31:19 +00:00 committed by Marcus Shawcroft
parent 5d7b099c0a
commit 1cf2589d14
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-09-22 Marcus Shawcroft <marcus.shawcroft@arm.com>
* lib/scanasm.exp(dg-function-on-line): Permit .fnstart to appear in
the regexp pattern between the expected label and location string.
2010-09-22 Marcus Shawcroft <marcus.shawcroft@arm.com>
* gcc.dg/pr28706.c: Typo fix to dg-require-effective-target lto.

View File

@ -339,7 +339,7 @@ proc dg-function-on-line { args } {
}
}
set pattern [format {%s:[^\t]*(\t.(frame|mask|file)[^\t]*)*\t[^:]+:%d\n} \
set pattern [format {%s:[^\t]*(\t.(fnstart|frame|mask|file)[^\t]*)*\t[^:]+:%d\n} \
$symbol $line]
# The lack of spaces around $pattern is important, since they'd