Deleted Added
full compact
unwind-dw2.c (252039) unwind-dw2.c (280909)
1/* DWARF2 exception handling and frame unwind runtime interface routines.
2 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
3 Free Software Foundation, Inc.
4
5 This file is part of GCC.
6
7 GCC is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by

--- 1379 unchanged lines hidden (view full) ---

1388 uw_init_context_1 (CONTEXT, __builtin_dwarf_cfa (), \
1389 __builtin_return_address (0)); \
1390 } \
1391 while (0)
1392
1393static inline void
1394init_dwarf_reg_size_table (void)
1395{
1/* DWARF2 exception handling and frame unwind runtime interface routines.
2 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
3 Free Software Foundation, Inc.
4
5 This file is part of GCC.
6
7 GCC is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by

--- 1379 unchanged lines hidden (view full) ---

1388 uw_init_context_1 (CONTEXT, __builtin_dwarf_cfa (), \
1389 __builtin_return_address (0)); \
1390 } \
1391 while (0)
1392
1393static inline void
1394init_dwarf_reg_size_table (void)
1395{
1396/*
1397 * ARM64TODO: http://llvm.org/pr22997
1398 * llvm 3.6 doesn't support __builtin_init_dwarf_reg_size_table on AArch64.
1399 */
1400#ifdef __aarch64__
1401 printf("Unimplemented: init_dwarf_reg_size_table\n");
1402 abort();
1403#else
1396 __builtin_init_dwarf_reg_size_table (dwarf_reg_size_table);
1404 __builtin_init_dwarf_reg_size_table (dwarf_reg_size_table);
1405#endif
1397}
1398
1399static void
1400uw_init_context_1 (struct _Unwind_Context *context,
1401 void *outer_cfa, void *outer_ra)
1402{
1403 void *ra = __builtin_extract_return_addr (__builtin_return_address (0));
1404 _Unwind_FrameState fs;

--- 135 unchanged lines hidden ---
1406}
1407
1408static void
1409uw_init_context_1 (struct _Unwind_Context *context,
1410 void *outer_cfa, void *outer_ra)
1411{
1412 void *ra = __builtin_extract_return_addr (__builtin_return_address (0));
1413 _Unwind_FrameState fs;

--- 135 unchanged lines hidden ---