repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gcov: make profile merging smarter
[official-gcc.git]
/
libgcc
/
config
/
darwin10-unwind-find-enc-func.c
blob
67c43757e50bff75622d65e06617c43e59e11db9
1
#include
"tconfig.h"
2
#include
"tsystem.h"
3
#include
"unwind-dw2-fde.h"
4
5
void
*
6
_darwin10_Unwind_FindEnclosingFunction
(
void
*
pc
)
7
{
8
struct
dwarf_eh_bases bases
;
9
const struct
dwarf_fde
*
fde
=
_Unwind_Find_FDE
(
pc
-
1
, &
bases
);
10
if
(
fde
)
11
return
bases
.
func
;
12
return
NULL
;
13
}