OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [debug/] [dwarf2/] [aranges-fnsec-1.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Test that .debug_aranges and .debug_ranges do not have an entry for the
2
   text section if nothing went in there.  */
3
/* Origin: Joseph Myers <joseph@codesourcery.com> */
4
/* { dg-do compile } */
5
/* { dg-require-effective-target function_sections } */
6
/* { dg-options "-gdwarf-2 -ffunction-sections -w -dA" } */
7
/* { dg-final { scan-assembler-not "\\.Letext0-\\.Ltext0" } } */
8
/* { dg-final { scan-assembler-not "\\.Ltext0\[^\n\r\]*Offset 0x0" } } */
9
/* { dg-final { scan-assembler "DW_AT_ranges" } } */
10
 
11
int
12
f (void)
13
{
14
  return 1;
15
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.